From 801ccf2ebddb01576078c78c0b494e93c3c79f75 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 14 Oct 2020 12:21:49 +1000 Subject: [PATCH] parse: cookies should be maybe_unused They aren't necessarily _doing_ anything. Just waiting to go out of scope. --- parse/fwd.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse/fwd.hpp b/parse/fwd.hpp index b00de88d..781cc725 100644 --- a/parse/fwd.hpp +++ b/parse/fwd.hpp @@ -10,6 +10,6 @@ namespace cruft::parse { namespace enumeration { - struct cookie { void release (void) {} }; + struct [[maybe_unused]] cookie { void release (void) {} }; } }