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 f7a1949108
commit d95f9309a9
1 changed files with 2 additions and 2 deletions

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