Blender Git Commit Log

Git Commits -> Revision 88de58f

Revision 88de58f by Ankit Meel (master)
November 17, 2020, 12:03 (GMT)
Clang-tidy, fix bugprone-exception-escape.

Remove redundant call to `ofstream::close()` from `~PSStrokeRenderer`
and `~TextStrokeRenderer`. ofstream will be destructed automatically.

- For `~Depsgraph`, `std::function`'s constructor can throw.
- Passing throwing statements in the lambda will not be detected by
clang-tidy.
Fix these issues by using lambda as function argument.

Reviewed By: sergey, sybren
Differential Revision: https://developer.blender.org/D9497

Commit Details:

Full Hash: 88de58fd1af9ffb1c6afcc53cf6279aadc51f58c
Parent Commit: 417224a
Lines Changed: +5, -38

7 Modified Paths:

/.clang-tidy (+0, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+5, -4) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+0, -1) (Diff)
/source/blender/freestyle/intern/stroke/PSStrokeRenderer.cpp (+0, -12) (Diff)
/source/blender/freestyle/intern/stroke/PSStrokeRenderer.h (+0, -4) (Diff)
/source/blender/freestyle/intern/stroke/TextStrokeRenderer.cpp (+0, -12) (Diff)
/source/blender/freestyle/intern/stroke/TextStrokeRenderer.h (+0, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021