[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

View File

@@ -16,7 +16,7 @@
*
* Version : $Header: $
*
* Copyright <20> 2002 - 2017 Richard Harrison All Rights Reserved.
* Copyright <20> 2002 - 2017 Richard Harrison All Rights Reserved.
*
*---------------------------------------------------------------------------*/
@@ -30,13 +30,13 @@ namespace simgear
{
public:
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"; }
protected:
Type Type;
Type _type;
};
class NasalGarbageCollectionConfigurationNotification : public simgear::Emesary::INotification