Skip to content

Commit 2977e0a

Browse files
authored
Update no_more_new.md
有点罗嗦,简化一下描述
1 parent 0a5d190 commit 2977e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/no_more_new.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ int func() {
219219
}
220220
```
221221

222-
过去,为了解决每个提前返回分支都需要 `delete` 之前分配所有资源的问题,人们使用 `goto` 大法拙劣地避免提前退出时忘记释放内存
222+
过去,人们使用 `goto` 大法拙劣地在提前返回时 `delete` 动态内存
223223

224224
```cpp
225225
int func() {

0 commit comments

Comments
 (0)