mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Use nested namespaces (C++17 feature)
This commit is contained in:
@@ -8,25 +8,22 @@
|
||||
|
||||
#include "aircraftmodelsetprovider.h"
|
||||
|
||||
namespace BlackMisc
|
||||
namespace BlackMisc::Simulation
|
||||
{
|
||||
namespace Simulation
|
||||
// pin vtables to this file
|
||||
void CAircraftModelSetAware::anchor()
|
||||
{ }
|
||||
|
||||
CAircraftModelList CAircraftModelSetAware::getModelSet() const
|
||||
{
|
||||
// pin vtables to this file
|
||||
void CAircraftModelSetAware::anchor()
|
||||
{ }
|
||||
if (!this->hasProvider()) { return CAircraftModelList(); }
|
||||
return this->provider()->getModelSet();
|
||||
}
|
||||
|
||||
CAircraftModelList CAircraftModelSetAware::getModelSet() const
|
||||
{
|
||||
if (!this->hasProvider()) { return CAircraftModelList(); }
|
||||
return this->provider()->getModelSet();
|
||||
}
|
||||
int CAircraftModelSetAware::getModelSetCount() const
|
||||
{
|
||||
if (!this->hasProvider()) { return -1; }
|
||||
return this->provider()->getModelSetCount();
|
||||
}
|
||||
|
||||
int CAircraftModelSetAware::getModelSetCount() const
|
||||
{
|
||||
if (!this->hasProvider()) { return -1; }
|
||||
return this->provider()->getModelSetCount();
|
||||
}
|
||||
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user