Don't use move semantics for return values

This commit is contained in:
Yonas Habteab 2022-08-26 17:10:13 +02:00
parent d742f6acbb
commit 57c2d61f12

View File

@ -242,5 +242,5 @@ String icinga::PackObject(const Value& value)
std::string builder;
PackAny(value, builder);
return std::move(builder);
return builder;
}