Blender Git Loki

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

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021