Fix compilation problem with MSVC 2012
This commit is contained in:
parent
0608367257
commit
85ae0697ee
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ FGEngine::FGEngine(FGFDMExec* exec, Element* engine_element, int engine_number,
|
||||||
|
|
||||||
Name = engine_element->GetAttributeValue("name");
|
Name = engine_element->GetAttributeValue("name");
|
||||||
|
|
||||||
Load(engine_element, PropertyManager, to_string(EngineNumber)); // Call ModelFunctions loader
|
Load(engine_element, PropertyManager, std::to_string(EngineNumber)); // Call ModelFunctions loader
|
||||||
|
|
||||||
// Find and set engine location
|
// Find and set engine location
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ FGEngine::FGEngine(FGFDMExec* exec, Element* engine_element, int engine_number,
|
||||||
property_name = base_property_name + "/fuel-used-lbs";
|
property_name = base_property_name + "/fuel-used-lbs";
|
||||||
PropertyManager->Tie( property_name.c_str(), this, &FGEngine::GetFuelUsedLbs);
|
PropertyManager->Tie( property_name.c_str(), this, &FGEngine::GetFuelUsedLbs);
|
||||||
|
|
||||||
PostLoad(engine_element, PropertyManager, to_string(EngineNumber));
|
PostLoad(engine_element, PropertyManager, std::to_string(EngineNumber));
|
||||||
|
|
||||||
Debug(0);
|
Debug(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue