diff options
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.hpp b/src/app.hpp index a0615d5..3467666 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -24,6 +24,7 @@ #include <unordered_map> #include <unordered_set> #include <experimental/optional> +#include <mutex> #include "config.hpp" #include "controller_hooks.hpp" #include "layers.hpp" @@ -263,6 +264,7 @@ private: std::unordered_map<std::string, std::string> role2drawingname_; std::unordered_map<int, int> appid2role_; CarInfo crr_car_info_; + std::mutex mtx; int allocateSurface(); void setSurfaceSize(const char* role, const char* area); |