From 4d5715c97358af828d155e10361e374cb38dd389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Mon, 3 Mar 2014 16:38:26 +0100 Subject: [PATCH] atomic state --- include/llmr/map/tile.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llmr/map/tile.hpp b/include/llmr/map/tile.hpp index fd0aa7ee2..c2ff37a3e 100644 --- a/include/llmr/map/tile.hpp +++ b/include/llmr/map/tile.hpp @@ -14,6 +14,7 @@ #include #include #include +#include namespace llmr { @@ -75,7 +76,7 @@ public: public: const ID id; uint8_t clip_id; - state state; + std::atomic state; // Holds the actual geometries in this tile. DebugFontBuffer debugFontBuffer;