Skip to content

Commit 0141a76

Browse files
committed
fix warning
1 parent c54307b commit 0141a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/transform_replace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ int main()
764764
auto rng = "There are groups of [1, 2, 3, 4, 5] in the set." |
765765
bp::transform_replace(
766766
'[' >> bp::int_ % ',' >> ']', bp::ws, string_sum);
767-
int count = 0;
767+
[[maybe_unused]] int count = 0;
768768
// Prints "There are groups of 15 in the set".
769769
for (auto subrange : rng) {
770770
for (auto ch : subrange) {

0 commit comments

Comments
 (0)