diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 3ec39fa..69fe384 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9562,7 +9562,7 @@ Instead, use a local variable: ##### Enforcement -* (Moderate) Warn if an object is allocated and then deallocated on all paths within a function. Suggest it should be a local `auto` stack object instead. +* (Moderate) Warn if an object is allocated and then deallocated on all paths within a function. Suggest it should be a local stack object instead. * (Simple) Warn if a local `Unique_pointer` or `Shared_pointer` is not moved, copied, reassigned or `reset` before its lifetime ends. ### R.6: Avoid non-`const` global variables