src/common.h
@@ -134,6 +134,8 @@ DISABLE_COPY_AND_ASSIGN(psmsg); psmsg(const std::string& t, std::string&& m) :topic_(t),data_(std::move(m)){} psmsg(std::string&& t, std::string&& m) :topic_(std::move(t)),data_(std::move(m)){} std::string topic_{}; std::string data_{}; }; @@ -227,6 +229,7 @@ std::mutex mtx_msg_{}; std::condition_variable cv_msg_{}; // std::deque<void*> q_src_{}; }; template<class T, typename std::enable_if<is_default_c<T>::value, int>::type=0>