diff options
Diffstat (limited to 'core/dbus_wrap.h')
-rw-r--r-- | core/dbus_wrap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dbus_wrap.h b/core/dbus_wrap.h index 61dbb971..298ce09a 100644 --- a/core/dbus_wrap.h +++ b/core/dbus_wrap.h @@ -39,7 +39,7 @@ void PrepareDBus(); inline auto HasDBus() { static std::once_flag init_dbus{}; - std::call_once(init_dbus, PrepareDBus); + std::call_once(init_dbus, []{ PrepareDBus(); }); return dbus_handle; } |