From 65a230ec6ccb61c3ce6816730da2106f07f40b4a Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 23 四月 2021 18:42:41 +0800 Subject: [PATCH] add api, Unregister, QueryTopicAddress. --- src/shm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/shm.h b/src/shm.h index 5bf8e41..0e834c3 100644 --- a/src/shm.h +++ b/src/shm.h @@ -76,7 +76,7 @@ ~MutexWithTimeLimit() { static_assert(std::is_pod<Duration>::value); } bool try_lock(); void lock(); - void unlock() { mutex_.unlock(); } + void unlock(); }; // typedef boost::interprocess::interprocess_mutex Mutex; -- Gitblit v1.8.0