]> git.mxchange.org Git - flightgear.git/commitdiff
Move the flipflop implementations into the correct namespace
authorTorsten Dreyer <Torsten@t3r.de>
Fri, 25 Jun 2010 19:17:13 +0000 (21:17 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Fri, 25 Jun 2010 19:17:13 +0000 (21:17 +0200)
src/Autopilot/flipflop.cxx

index aba5883c5a06da0200ec9f98007ad63d38a003b4..c829818499585a6d6f4809b335ef01d6326499d8 100644 (file)
@@ -24,7 +24,7 @@
 #include "inputvalue.hxx"
 #include <Main/fg_props.hxx>
 
-using namespace FGXMLAutopilot;
+namespace FGXMLAutopilot {
 
 /**
  * @brief Flip flop implementation for a RS flip flop with dominant RESET
@@ -279,6 +279,10 @@ public:
   virtual bool getState( double dt, DigitalComponent::InputMap input, bool & q );
 };
 
+} // namespace
+
+using namespace FGXMLAutopilot;
+
 bool MonoFlopImplementation::configure( const std::string & nodeName, SGPropertyNode_ptr configNode )
 {
   if( JKFlipFlopImplementation::configure( nodeName, configNode ) )