From 7d89c09430930e3bf9b487333f0a18dd117f46af Mon Sep 17 00:00:00 2001 From: Hao Guan <10684225+hguandl@users.noreply.github.com> Date: Wed, 5 Jun 2024 01:40:07 +0800 Subject: [PATCH] nginx-util: fix compilation with GCC13 (#824) --- 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 2ff4da19..afbab920 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:=15 +PKG_RELEASE:=16 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 6c193cfc..42d2d21a 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;