diff options
Diffstat (limited to 'include/dbus_utility.hpp')
-rw-r--r-- | include/dbus_utility.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dbus_utility.hpp b/include/dbus_utility.hpp index 933d733f96..c06ba9eae6 100644 --- a/include/dbus_utility.hpp +++ b/include/dbus_utility.hpp @@ -147,7 +147,7 @@ template <typename Callback> inline void checkDbusPathExists(const std::string& path, Callback&& callback) { crow::connections::systemBus->async_method_call( - [callback{std::forward<Callback>(callback)}]( + [callback = std::forward<Callback>(callback)]( const boost::system::error_code& ec, const dbus::utility::MapperGetObject& objectNames) { callback(!ec && !objectNames.empty()); |