diff options
author | louiz’ <louiz@louiz.org> | 2020-05-02 20:55:11 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2020-05-09 14:40:49 +0200 |
commit | c671da13b38dcc15d0a441b1b9c258cb12966fca (patch) | |
tree | a53ee4574234fc4bcacab60bab4077afa635b9dd /src | |
parent | fa905a741fca3bee255b32b09e9e63bd09270560 (diff) | |
download | biboumi-c671da13b38dcc15d0a441b1b9c258cb12966fca.tar.gz biboumi-c671da13b38dcc15d0a441b1b9c258cb12966fca.tar.bz2 biboumi-c671da13b38dcc15d0a441b1b9c258cb12966fca.tar.xz biboumi-c671da13b38dcc15d0a441b1b9c258cb12966fca.zip |
Fix a std::move() warning with clang
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/empty_if_fixed_server.hpp | 2 |
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) |