Skip to content

Commit 3e1519b

Browse files
committed
bad parens within name
1 parent bcca148 commit 3e1519b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12377,7 +12377,7 @@ One way of avoiding such problems is to use resource handles consistently:
1237712377

1237812378
Another solution (often better) would be to use a local variable to eliminate explicit use of pointers:
1237912379

12380-
void no_leak(_simplified(int x)
12380+
void no_leak_simplified(int x)
1238112381
{
1238212382
vector<int> v(7);
1238312383
// ...

0 commit comments

Comments
 (0)