1
0
Fork 0

Fix compilation problem with MSVC 2012

This commit is contained in:
Frederic Bouvier 2012-09-03 17:33:20 +02:00
parent 0608367257
commit 85ae0697ee

View file

@ -83,7 +83,7 @@ FGEngine::FGEngine(FGFDMExec* exec, Element* engine_element, int engine_number,
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
@ -132,7 +132,7 @@ FGEngine::FGEngine(FGFDMExec* exec, Element* engine_element, int engine_number,
property_name = base_property_name + "/fuel-used-lbs";
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);
}