Fix gcc compilation

This commit is contained in:
Jérôme BOULMIER 2020-05-14 22:13:43 +02:00 committed by Patrick Ziegler
parent f016b99e08
commit 78b5f88c5f

View File

@ -40,9 +40,9 @@ namespace socket_util {
* conn->receive(...);
* \endcode
*/
auto make_unix_connection = [](string&& path) -> unique_ptr<unix_connection> {
inline unique_ptr<unix_connection> make_unix_connection(string&& path) {
return factory_util::unique<unix_connection>(forward<string>(path));
};
}
}
POLYBAR_NS_END