Skip to content

Commit b5f530b

Browse files
committed
try.
1 parent fe93fe8 commit b5f530b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/mqtt/endpoint.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -11217,11 +11217,11 @@ class endpoint : public std::enable_shared_from_this<endpoint<Mutex, LockGuard,
1121711217

1121811218
void async_send_store(move_only_function<void()> func) {
1121911219
// packet_id has already been registered
11220-
auto g = shared_scope_guard(
11220+
auto g{shared_scope_guard(
1122111221
[func = force_move(func)] () mutable {
1122211222
func();
1122311223
}
11224-
);
11224+
)};
1122511225
LockGuard<Mutex> lck (store_mtx_);
1122611226
if (store_.empty()) {
1122711227
socket().post(

0 commit comments

Comments
 (0)