summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2020-05-02 20:55:11 +0200
committerlouiz’ <louiz@louiz.org>2020-05-02 21:43:48 +0200
commitc91fac82da5d3cae0f363eb6b75017808837125b (patch)
tree5b7fb864c008b0b60426c2273adf1009c1a44fef /src/utils
parent12feb1509ed25580a37f57963832c4c375c86c93 (diff)
downloadbiboumi-c91fac82da5d3cae0f363eb6b75017808837125b.tar.gz
biboumi-c91fac82da5d3cae0f363eb6b75017808837125b.tar.bz2
biboumi-c91fac82da5d3cae0f363eb6b75017808837125b.tar.xz
biboumi-c91fac82da5d3cae0f363eb6b75017808837125b.zip
Fix a std::move() warning with clang
Diffstat (limited to 'src/utils')
-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)