From 4e46bd9a8b77c2b492711142fbe0fdeedba09d3f Mon Sep 17 00:00:00 2001 From: Thibault Kruse Date: Thu, 11 Aug 2016 18:13:29 +0200 Subject: [PATCH] fix indent --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 7b0c207..c50f851 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -11104,7 +11104,7 @@ Avoids nasty errors from unreleased locks. Sooner or later, someone will forget the `mtx.unlock()`, place a `return` in the `... do stuff ...`, throw an exception, or something. - mutex mtx; + mutex mtx; void do_stuff() { @@ -12127,7 +12127,7 @@ C++ implementations tend to be optimized based on the assumption that exceptions ##### Example, don't - // don't: exception not used for error handling + // don't: exception not used for error handling int find_index(vector& vec, const string& x) { try {