src/nng_wrap.cpp
@@ -209,12 +209,12 @@ if (m_len > 0){ string tmp_msg{m, (size_t)m_len}; nn_freemsg(m); auto topic{tmp_msg.c_str()}; const auto topic{tmp_msg.c_str()}; string msg{}; { lock_guard<mutex> l{(*sub)()}; for(auto && i : sub->topics_){ if (i.compare(topic) == 0){ if (!!!i.compare(topic)){ msg = move(tmp_msg.substr(i.size()+1)); break; }