From a071e26bafac20a697c0d8af3f85d5f71c7219ae Mon Sep 17 00:00:00 2001 From: LTLA Date: Tue, 4 Feb 2025 19:10:15 -0800 Subject: [PATCH] Ignore false positives from GCC's dangling reference warning. --- include/uzuki2/parse_json.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uzuki2/parse_json.hpp b/include/uzuki2/parse_json.hpp index 060a3da..d1558d0 100644 --- a/include/uzuki2/parse_json.hpp +++ b/include/uzuki2/parse_json.hpp @@ -42,6 +42,7 @@ namespace json { /** * @cond */ +[[gnu::no_dangling]] inline const std::vector >& extract_array( const std::unordered_map >& properties, const std::string& name,