From d71e28de375edc17ae0e0c6f735a870759c9a3e8 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 1 Jul 2023 16:44:54 -0700 Subject: [PATCH] nginx-util: fix compilation with GCC13 Signed-off-by: Rosen Penev --- net/nginx-util/Makefile | 2 +- net/nginx-util/src/ubus-cxx.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2