Skip to content

Commit

Permalink
Two micro-changes for the advanced part of core-modern.
Browse files Browse the repository at this point in the history
  • Loading branch information
hageboeck committed Sep 29, 2024
1 parent 8e770dd commit 42a18d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion talk/morelanguage/exceptions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@
\item An exception will leave the program in a defined state
\begin{itemize}
\item At least destructors must be able to run
\item This is similar to the moved from state
\item This is similar to the moved-from state
\end{itemize}
\item No resources are leaked
\end{itemize}
Expand Down
2 changes: 1 addition & 1 deletion talk/morelanguage/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@
std::array a{1, 2, 3}; // std::array<int, 3>

std::mutex m;
std::lock_guard l(m); // std::lock_guard<std::mutex>
std::lock_guard l{m}; // std::lock_guard<std::mutex>
\end{cppcode*}
\end{block}
\end{frame}
Expand Down

0 comments on commit 42a18d0

Please sign in to comment.