libcruft-util/parse/fwd.hpp
Danny Robson 801ccf2ebd parse: cookies should be maybe_unused
They aren't necessarily _doing_ anything. Just waiting to go out of
scope.
2020-10-14 12:21:49 +10:00

16 lines
409 B
C++

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright 2019, Danny Robson <danny@nerdcruft.net>
*/
#pragma once
namespace cruft::parse {
namespace enumeration {
struct [[maybe_unused]] cookie { void release (void) {} };
}
}