From: Mathias Froehlich Date: Sat, 21 Jul 2012 10:55:53 +0000 (+0200) Subject: hla: Remove deprecated methods from HLAObjectClass X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d4db4fcac304c44e97d8db51f94cd25117b3956d;p=simgear.git hla: Remove deprecated methods from HLAObjectClass --- diff --git a/simgear/hla/HLAObjectClass.cxx b/simgear/hla/HLAObjectClass.cxx index c3f81c7b..3385f695 100644 --- a/simgear/hla/HLAObjectClass.cxx +++ b/simgear/hla/HLAObjectClass.cxx @@ -299,21 +299,12 @@ HLAObjectClass::stopRegistration() const HLAObjectInstance* HLAObjectClass::createObjectInstance(const std::string& name) { - HLAObjectInstance* objectInstance = createObjectInstance(); - if (objectInstance) - return objectInstance; SGSharedPtr federate = _federate.lock(); if (!federate.valid()) return 0; return federate->createObjectInstance(this, name); } -HLAObjectInstance* -HLAObjectClass::createObjectInstance() -{ - return 0; -} - void HLAObjectClass::_setRTIObjectClass(RTIObjectClass* objectClass) { diff --git a/simgear/hla/HLAObjectClass.hxx b/simgear/hla/HLAObjectClass.hxx index 6a04f4a1..ba6ee5c9 100644 --- a/simgear/hla/HLAObjectClass.hxx +++ b/simgear/hla/HLAObjectClass.hxx @@ -120,7 +120,6 @@ public: /// Create a new instance of this class. virtual HLAObjectInstance* createObjectInstance(const std::string& name); - virtual HLAObjectInstance* createObjectInstance(); // deprecated private: HLAObjectClass(const HLAObjectClass&);