Skip to content

Commit 40aec10

Browse files
authored
[dcl.enum] Remove extraneous spaces from example (#6381)
1 parent e6bd946 commit 40aec10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/declarations.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7289,15 +7289,15 @@
72897289
\begin{codeblock}
72907290
enum direction { left='l', right='r' };
72917291

7292-
void g() {
7292+
void g() {
72937293
direction d; // OK
72947294
d = left; // OK
72957295
d = direction::right; // OK
72967296
}
72977297

72987298
enum class altitude { high='h', low='l' };
72997299

7300-
void h() {
7300+
void h() {
73017301
altitude a; // OK
73027302
a = high; // error: \tcode{high} not in scope
73037303
a = altitude::low; // OK

0 commit comments

Comments
 (0)