Skip to content

Commit

Permalink
[dcl.attr.unused] add static keyword to function in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Eisenwave committed Aug 19, 2023
1 parent a272b7c commit e9532a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e9532a6

Please sign in to comment.