diff --git a/include/utils/socket.hpp b/include/utils/socket.hpp index d0b1887e..96f36a4f 100644 --- a/include/utils/socket.hpp +++ b/include/utils/socket.hpp @@ -40,9 +40,9 @@ namespace socket_util { * conn->receive(...); * \endcode */ - auto make_unix_connection = [](string&& path) -> unique_ptr { + inline unique_ptr make_unix_connection(string&& path) { return factory_util::unique(forward(path)); - }; + } } POLYBAR_NS_END