From 78b5f88c5f753ff2b364db16d5d38f64d90701dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20BOULMIER?= Date: Thu, 14 May 2020 22:13:43 +0200 Subject: [PATCH] Fix gcc compilation --- include/utils/socket.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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