submodel: Maintenance
virtual default dtor
This commit is contained in:
parent
912d08fa59
commit
f5acb22929
2 changed files with 4 additions and 12 deletions
|
@ -44,10 +44,6 @@ FGSubmodelMgr::FGSubmodelMgr()
|
|||
_found_sub = true;
|
||||
}
|
||||
|
||||
FGSubmodelMgr::~FGSubmodelMgr()
|
||||
{
|
||||
}
|
||||
|
||||
FGAIManager* FGSubmodelMgr::aiManager()
|
||||
{
|
||||
return globals->get_subsystem<FGAIManager>();
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
//
|
||||
// This file is in the Public Domain and comes with no warranty.
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef __SYSTEMS_SUBMODEL_HXX
|
||||
#define __SYSTEMS_SUBMODEL_HXX 1
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <simgear/props/props.hxx>
|
||||
#include <simgear/structure/subsystem_mgr.hxx>
|
||||
|
@ -13,9 +14,6 @@
|
|||
|
||||
#include <Autopilot/inputvalue.hxx>
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
class FGAIBase;
|
||||
class FGAIManager;
|
||||
|
||||
|
@ -94,7 +92,7 @@ public:
|
|||
} IC_struct;
|
||||
|
||||
FGSubmodelMgr();
|
||||
~FGSubmodelMgr() override;
|
||||
virtual ~FGSubmodelMgr() = default;
|
||||
|
||||
// Subsystem API.
|
||||
void bind() override;
|
||||
|
@ -189,5 +187,3 @@ private:
|
|||
SGVec3d getCartOffsetPos(submodel* sm) const;
|
||||
void setOffsetPos(submodel* sm);
|
||||
};
|
||||
|
||||
#endif // __SYSTEMS_SUBMODEL_HXX
|
||||
|
|
Loading…
Reference in a new issue