zhangmeng
2022-01-20 bef24e7b4001c7c7cd7a03a22f8eaf7c8af3c4b7
performance
1个文件已修改
2 ■■■ 已修改文件
src/nng_wrap.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/nng_wrap.cpp
@@ -213,7 +213,7 @@
                const auto topic{tmp_msg.c_str()};
                string msg{};
                {
                    lock_guard<mutex> l{(*sub)()};
                    lock_guard<mutex> l{sub->operator()()};
                    for(auto && i : sub->topics_){
                        if (!!!i.compare(topic)){
                            msg = move(tmp_msg.substr(i.size()+1));