]> git.mxchange.org Git - flightgear.git/commitdiff
Solaris namespace clash fix
authorehofman <ehofman>
Tue, 1 Jul 2003 16:12:21 +0000 (16:12 +0000)
committerehofman <ehofman>
Tue, 1 Jul 2003 16:12:21 +0000 (16:12 +0000)
src/FDM/JSBSim/FGJSBBase.cpp
src/FDM/JSBSim/FGJSBBase.h

index db7c0c348ec1c6a431fbc9da37cab08c789334b5..ecd8da25d37d0114fa0d6bab4ca716299f860d9a 100644 (file)
@@ -71,7 +71,7 @@ const double FGJSBBase::SHRatio = 1.40;
 const string FGJSBBase::needed_cfg_version = "1.60";
 const string FGJSBBase::JSBSim_version = "0.9.4";
 
-queue <FGJSBBase::Message*> FGJSBBase::Messages;
+std::queue <FGJSBBase::Message*> FGJSBBase::Messages;
 FGJSBBase::Message FGJSBBase::localMsg;
 unsigned int FGJSBBase::messageId = 0; 
 unsigned int FGJSBBase::frame = 0;
index 3bb80e6d3fb9b90a5f5cd4a5975de476b26861c8..7515b92195392705f476be4f167145d8c0988ce0 100644 (file)
@@ -45,7 +45,6 @@ INCLUDES
 #  include STL_STRING
 
 SG_USING_STD(string);
-SG_USING_STD(queue);
 
 # ifndef M_PI
 #  include <simgear/constants.h>
@@ -63,7 +62,6 @@ SG_USING_STD(queue);
 #  endif
 
 using std::string;
-using std::queue;
 
 # ifndef M_PI
 #  define M_PI 3.14159265358979323846
@@ -221,7 +219,7 @@ public:
 protected:
   static Message localMsg;
   
-  static queue <Message*> Messages;
+  static std::queue <Message*> Messages;
 
   virtual void Debug(int from) {};