Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ce55f9e

Browse files
Refine two statements in advancedOO.
Thanks for pointing this out to @Ban42. Fix #562.
1 parent 078bb61 commit ce55f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎talk/objectorientation/advancedoo.tex‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
\begin{block}{Principle}
246246
\begin{itemize}
247247
\item when overriding a virtual method, the \cppinline|override| keyword should be used
248-
\item the \cppinline|virtual| keyword is then optional
248+
\item the \cppinline|virtual| keyword is then optional in derived classes
249249
\end{itemize}
250250
\end{block}
251251
\begin{exampleblock}{Practically}
@@ -275,7 +275,7 @@
275275
\end{block}
276276
\begin{itemize}
277277
\item with \cppinline|override|, you would get a compiler error
278-
\item if you forget \cppinline|override| when you should have it, you get a compiler warning
278+
\item if you forget \cppinline|override| when you should have it, you may get a compiler warning
279279
\end{itemize}
280280
\end{frame}
281281

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /