From 1285e7efd35355503936689573dfec3fb2db29c5 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Tue, 31 Mar 2020 15:47:15 +0200 Subject: [PATCH] util-event: Fix duplicated name --- source/util-event.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/util-event.hpp b/source/util-event.hpp index ec2f9e59..9df2c2ba 100644 --- a/source/util-event.hpp +++ b/source/util-event.hpp @@ -46,7 +46,7 @@ namespace util { event(event<_args...>&& other) : event() { std::lock_guard lg(_lock); - std::lock_guard lg(other._lock); + std::lock_guard lgo(other._lock); _listeners.swap(other._listeners); _cb_fill.swap(other._cb_fill);