diff --git a/src/libutil/util.hh b/src/libutil/util.hh index d0d2bc02f..16e59ad33 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -718,7 +718,7 @@ inline std::string operator + (const std::string & s1, std::string_view s2) inline std::string operator + (std::string && s, std::string_view s2) { s.append(s2); - return s; + return std::move(s); } inline std::string operator + (std::string_view s1, const char * s2)