Skip to content

Commit d321d0b

Browse files
Update demos/common/cpp/utils/include/utils/threads_common.hpp
1 parent 7f63da5 commit d321d0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/common/cpp/utils/include/utils/threads_common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class Worker {
126126
void tryPush(const std::weak_ptr<Worker>& worker, std::shared_ptr<Task>&& task) {
127127
try {
128128
std::shared_ptr<Worker>(worker)->push(task);
129-
} catch (const std::bad_weak_ptr& e) {}
129+
} catch (const std::bad_weak_ptr&) {}
130130
}
131131

132132
template <class C> class ConcurrentContainer {

0 commit comments

Comments
 (0)