From: Rosen Penev Date: Sat, 1 Jul 2023 23:44:54 +0000 (-0700) Subject: nginx-util: fix compilation with GCC13 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d71e28de375edc17ae0e0c6f735a870759c9a3e8;p=feed%2Fpackages.git nginx-util: fix compilation with GCC13 Signed-off-by: Rosen Penev --- diff --git a/net/nginx-util/Makefile b/net/nginx-util/Makefile index 5d7070eb98..4a77e2f205 100644 --- a/net/nginx-util/Makefile +++ b/net/nginx-util/Makefile @@ -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 include $(INCLUDE_DIR)/package.mk diff --git a/net/nginx-util/src/ubus-cxx.hpp b/net/nginx-util/src/ubus-cxx.hpp index 6c193cfc31..42d2d21aaa 100644 --- a/net/nginx-util/src/ubus-cxx.hpp +++ b/net/nginx-util/src/ubus-cxx.hpp @@ -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;