nginx-util: fix compilation with GCC13
authorRosen Penev <rosenp@gmail.com>
Sat, 1 Jul 2023 23:44:54 +0000 (16:44 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 11 Jul 2023 15:38:13 +0000 (08:38 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/nginx-util/Makefile
net/nginx-util/src/ubus-cxx.hpp

index 5d7070eb9808184dd457e7488e15d8253c11e7bf..4a77e2f2059f4868d656990759a2fca0ca4d1dd0 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nginx-util
 PKG_VERSION:=1.6
-PKG_RELEASE:=18
+PKG_RELEASE:=19
 PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
 
 include $(INCLUDE_DIR)/package.mk
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;