diff --git a/source/declarations.tex b/source/declarations.tex index d4302e71cd..d5934c4211 100644 --- a/source/declarations.tex +++ b/source/declarations.tex @@ -9159,8 +9159,8 @@ \pnum \begin{example} \begin{codeblock} -[[maybe_unused]] void f([[maybe_unused]] bool thing1, - [[maybe_unused]] bool thing2) { +[[maybe_unused]] static void f([[maybe_unused]] bool thing1, + [[maybe_unused]] bool thing2) { [[maybe_unused]] bool b = thing1 && thing2; assert(b); }