From b674aecae951c1f83e07f80956160fadf331d026 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期四, 03 六月 2021 18:12:33 +0800 Subject: [PATCH] remove useless code, compile warning. --- src/topic_node.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/topic_node.h b/src/topic_node.h index 8c08fcf..1425844 100644 --- a/src/topic_node.h +++ b/src/topic_node.h @@ -163,8 +163,8 @@ bool Init(); bool Valid() const { return state() != eStateUninited; } std::mutex mutex_; - MQId ssn_id_ = 0; std::atomic<State> state_; + MQId ssn_id_ = 0; int proc_index_ = -1; TopicQueryCache topic_query_cache_; -- Gitblit v1.8.0