Skip to content

Commit a7a0e11

Browse files
jensmaurerzygoloid
authored andcommitted
[class.virtual] Fix comment in example
1 parent ca0d62c commit a7a0e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/derived.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@
944944
}
945945

946946
struct C : A, B {
947-
virtual void g(); // ill-formed, no diagnostic required
947+
virtual void g(); // error: preconditions of overridden functions are not the same
948948
};
949949
\end{codeblock}
950950
\end{example}

0 commit comments

Comments
 (0)