aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/util.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 16fa6c54c..90418b04d 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -712,7 +712,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);
}
}