Skip to content

Commit 9127cba

Browse files
committed
Update 11-ResourceManagement.md
1 parent 4030222 commit 9127cba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

11-ResourceManagement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,6 @@ void f(int n)
199199
```
200200
##### Enforcement
201201
202-
(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.
203-
(Simple) Warn if a local Unique_ptr or Shared_ptr is not moved, copied, reassigned or reset before its lifetime ends.
202+
* (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.
203+
* (Simple) Warn if a local Unique_ptr or Shared_ptr is not moved, copied, reassigned or reset before its lifetime ends.
204204

0 commit comments

Comments
 (0)