diff --git a/geometry/Building.cpp b/geometry/Building.cpp index 0008a8b86df70388e8593bc51e842fb7d2bcd2c8..2b6f8771073006662a30725ee71c3b0502791274 100644 --- a/geometry/Building.cpp +++ b/geometry/Building.cpp @@ -1275,13 +1275,10 @@ bool Building::AddGoal(Goal* goal) return true; } -bool Building:: - - -AddTrainType(std::shared_ptr TT) +bool Building::AddTrainType(std::shared_ptr TT) { if (_trainTypes.count(TT->type)!=0) { - Log->Write("WARNING: Duplicate type for train found [%s]",TT->type); + Log->Write("WARNING: Duplicate type for train found [%s]",TT->type.c_str()); } _trainTypes[TT->type] = TT; return true;