From 0141a76473bda5de5946e800c522024b132cd950 Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Sat, 13 Dec 2025 09:18:12 +0100 Subject: [PATCH] fix warning --- test/transform_replace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/transform_replace.cpp b/test/transform_replace.cpp index c13871b4..158497d4 100644 --- a/test/transform_replace.cpp +++ b/test/transform_replace.cpp @@ -764,7 +764,7 @@ int main() auto rng = "There are groups of [1, 2, 3, 4, 5] in the set." | bp::transform_replace( '[' >> bp::int_ % ',' >> ']', bp::ws, string_sum); - int count = 0; + [[maybe_unused]] int count = 0; // Prints "There are groups of 15 in the set". for (auto subrange : rng) { for (auto ch : subrange) {