X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fstructure%2Fcommands.hxx;h=0825ffd9fc58c3c97b966d3d498dd11892acd1a6;hb=f1f0fa0aa95c2f1562fa9c09365baf8b2b55bfc7;hp=147c4f3de0f9bb383fc14ee3334e6e2981238123;hpb=733e6fa14ff507a1022ecab8d55cc9bf587bee40;p=simgear.git diff --git a/simgear/structure/commands.hxx b/simgear/structure/commands.hxx index 147c4f3d..0825ffd9 100644 --- a/simgear/structure/commands.hxx +++ b/simgear/structure/commands.hxx @@ -17,11 +17,13 @@ #include #include +#include + #include -SG_USING_STD(string); -SG_USING_STD(map); -SG_USING_STD(vector); +using std::string; +using std::map; +using std::vector; /** @@ -109,6 +111,8 @@ private: typedef map command_map; command_map _commands; + static OpenThreads::Mutex _instanceMutex; + }; #endif // __COMMANDS_HXX