[emesary] Fix naming conflict with some compilers

This commit is contained in:
Scott Giese
2019-06-15 17:22:53 -05:00
parent 3b3093c72e
commit d8a46cffa5
+4 -4
View File
@@ -16,7 +16,7 @@
* *
* Version : $Header: $ * Version : $Header: $
* *
* Copyright © 2002 - 2017 Richard Harrison All Rights Reserved. * Copyright � 2002 - 2017 Richard Harrison All Rights Reserved.
* *
*---------------------------------------------------------------------------*/ *---------------------------------------------------------------------------*/
@@ -30,13 +30,13 @@ namespace simgear
{ {
public: public:
enum Type { Started, Stopped, Begin, End }; enum Type { Started, Stopped, Begin, End };
MainLoopNotification(Type v) : Type(v) {} MainLoopNotification(Type v) : _type(v) {}
virtual Type GetValue() { return Type; } virtual Type GetValue() { return _type; }
virtual const char *GetType() { return "MainLoop"; } virtual const char *GetType() { return "MainLoop"; }
protected: protected:
Type Type; Type _type;
}; };
class NasalGarbageCollectionConfigurationNotification : public simgear::Emesary::INotification class NasalGarbageCollectionConfigurationNotification : public simgear::Emesary::INotification