summaryrefslogtreecommitdiff
path: root/src/components/hmi_message_handler/include/hmi_message_handler/websocket_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/hmi_message_handler/include/hmi_message_handler/websocket_session.h')
-rw-r--r--src/components/hmi_message_handler/include/hmi_message_handler/websocket_session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/hmi_message_handler/include/hmi_message_handler/websocket_session.h b/src/components/hmi_message_handler/include/hmi_message_handler/websocket_session.h
index 9692c4aef4..4d177d250f 100644
--- a/src/components/hmi_message_handler/include/hmi_message_handler/websocket_session.h
+++ b/src/components/hmi_message_handler/include/hmi_message_handler/websocket_session.h
@@ -53,7 +53,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "json/json.h"
#include "utils/macro.h"
#include "utils/lock.h"
-#include "utils/atomic_object.h"
+#include <atomic>
#include "utils/threads/thread.h"
#include "utils/threads/message_loop_thread.h"
#include "utils/message_queue.h"
@@ -152,7 +152,7 @@ class WebsocketSession : public std::enable_shared_from_this<WebsocketSession> {
std::string GetComponentName(std::string& method);
protected:
- sync_primitives::atomic_bool stop;
+ std::atomic_bool stop;
private:
void onMessageReceived(Json::Value message);