1
0
Fork 0

submodel: Maintenance

virtual default dtor
This commit is contained in:
Scott Giese 2022-01-15 19:59:04 -06:00
parent 912d08fa59
commit f5acb22929
2 changed files with 4 additions and 12 deletions

View file

@ -44,10 +44,6 @@ FGSubmodelMgr::FGSubmodelMgr()
_found_sub = true;
}
FGSubmodelMgr::~FGSubmodelMgr()
{
}
FGAIManager* FGSubmodelMgr::aiManager()
{
return globals->get_subsystem<FGAIManager>();

View file

@ -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