C++ modernisation tweaks
This commit is contained in:
parent
42a8adb07e
commit
330422faf3
1 changed files with 3 additions and 8 deletions
|
@ -20,15 +20,12 @@
|
||||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#include <config.h>
|
||||||
# include <config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <simgear/compiler.h>
|
#include <simgear/compiler.h>
|
||||||
|
|
||||||
#include <boost/foreach.hpp>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include <osg/ref_ptr>
|
#include <osg/ref_ptr>
|
||||||
|
@ -67,11 +64,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
~FGAIModelData()
|
~FGAIModelData() = default;
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual FGAIModelData* clone() const { return new FGAIModelData(); }
|
FGAIModelData* clone() const override { return new FGAIModelData(); }
|
||||||
|
|
||||||
/** osg callback, thread-safe */
|
/** osg callback, thread-safe */
|
||||||
void modelLoaded(const std::string& path, SGPropertyNode *prop, osg::Node *n)
|
void modelLoaded(const std::string& path, SGPropertyNode *prop, osg::Node *n)
|
||||||
|
|
Loading…
Add table
Reference in a new issue