nginx-util: fix compilation with GCC13
[feed/packages.git] / net / nginx-util / src / ubus-cxx.hpp
index 6c193cfc312aa0d9ef157b762eaeeb9c4093e707..42d2d21aaa1371cf065d8c78d6a52feac8f3d978 100644 (file)
@@ -159,7 +159,7 @@ class message {
             both = keys;
         }
         both = concat(std::move(both), std::move(key_filter)...);
-        return std::move(message{msg, std::move(both)});
+        return message{msg, std::move(both)};
     }
 
     inline ~message() = default;