summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2020-05-02 20:55:11 +0200
committerlouiz’ <louiz@louiz.org>2020-05-09 14:40:49 +0200
commitc671da13b38dcc15d0a441b1b9c258cb12966fca (patch)
treea53ee4574234fc4bcacab60bab4077afa635b9dd
parentfa905a741fca3bee255b32b09e9e63bd09270560 (diff)
downloadbiboumi-c671da13b38dcc15d0a441b1b9c258cb12966fca.tar.gz
biboumi-c671da13b38dcc15d0a441b1b9c258cb12966fca.tar.bz2
biboumi-c671da13b38dcc15d0a441b1b9c258cb12966fca.tar.xz
biboumi-c671da13b38dcc15d0a441b1b9c258cb12966fca.zip
Fix a std::move() warning with clang
-rw-r--r--src/utils/empty_if_fixed_server.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/empty_if_fixed_server.hpp b/src/utils/empty_if_fixed_server.hpp
index 9ccf5fd..cbb9cea 100644
--- a/src/utils/empty_if_fixed_server.hpp
+++ b/src/utils/empty_if_fixed_server.hpp
@@ -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)