mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
bad parens within name
This commit is contained in:
parent
bcca1488e8
commit
3e1519beb3
|
@ -12377,7 +12377,7 @@ One way of avoiding such problems is to use resource handles consistently:
|
|||
|
||||
Another solution (often better) would be to use a local variable to eliminate explicit use of pointers:
|
||||
|
||||
void no_leak(_simplified(int x)
|
||||
void no_leak_simplified(int x)
|
||||
{
|
||||
vector<int> v(7);
|
||||
// ...
|
||||
|
|
Loading…
Reference in New Issue
Block a user