X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fstructure%2Fcommands.hxx;h=0825ffd9fc58c3c97b966d3d498dd11892acd1a6;hb=f1f0fa0aa95c2f1562fa9c09365baf8b2b55bfc7;hp=21f44963500dff42f180f2391dffe4de0aee7030;hpb=d4c7e950927b1e19a7a7622a7919f32233a6b7a8;p=simgear.git diff --git a/simgear/structure/commands.hxx b/simgear/structure/commands.hxx index 21f44963..0825ffd9 100644 --- a/simgear/structure/commands.hxx +++ b/simgear/structure/commands.hxx @@ -17,6 +17,8 @@ #include #include +#include + #include using std::string; @@ -109,6 +111,8 @@ private: typedef map command_map; command_map _commands; + static OpenThreads::Mutex _instanceMutex; + }; #endif // __COMMANDS_HXX