Skip to content

Commit 4e46bd9

Browse files
committed
fix indent
1 parent 12bdb63 commit 4e46bd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CppCoreGuidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11104,7 +11104,7 @@ Avoids nasty errors from unreleased locks.
1110411104

1110511105
Sooner or later, someone will forget the `mtx.unlock()`, place a `return` in the `... do stuff ...`, throw an exception, or something.
1110611106

11107-
mutex mtx;
11107+
mutex mtx;
1110811108

1110911109
void do_stuff()
1111011110
{
@@ -12127,7 +12127,7 @@ C++ implementations tend to be optimized based on the assumption that exceptions
1212712127

1212812128
##### Example, don't
1212912129

12130-
// don't: exception not used for error handling
12130+
// don't: exception not used for error handling
1213112131
int find_index(vector<string>& vec, const string& x)
1213212132
{
1213312133
try {

0 commit comments

Comments
 (0)