Fix a std::move() warning with clang

This commit is contained in:
louiz’
2020-05-09 14:40:49 +02:00
parent fa905a741f
commit c671da13b3
+1 -1
View File
@@ -11,7 +11,7 @@ namespace utils
{
if (!Config::get("fixed_irc_server", "").empty())
return {};
return str;
return std::move(str);
}
inline std::string empty_if_fixed_server(const std::string& str)