nginx-util: fix compilation with GCC13 (#824)

This commit is contained in:
Hao Guan 2024-06-05 01:40:07 +08:00 committed by GitHub
parent 485e095913
commit 7d89c09430
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nginx-util PKG_NAME:=nginx-util
PKG_VERSION:=1.6 PKG_VERSION:=1.6
PKG_RELEASE:=15 PKG_RELEASE:=16
PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at> PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -159,7 +159,7 @@ class message {
both = keys; both = keys;
} }
both = concat(std::move(both), std::move(key_filter)...); 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; inline ~message() = default;