Blender Git Loki

Git Commits -> Revision 3f5b295

Revision 3f5b295 by Sergey Sharybin (master)
June 19, 2020, 10:02 (GMT)
Freestyle: Fix compilation error with C++17

AutoPtr class became a sub-class of unique_ptr with some special magic
to mimic behavior of auto_ptr for copy constructor.

The code was already there, but for some reason visual studio did not
set __cplusplus correctly for some reason.

The other change is remove of binary function usage, which is not
needed in the Freestyle code.

Commit Details:

Full Hash: 3f5b29508435dd5ace14e3460fa9f51c46e8c64e
Parent Commit: 7ae9227
Lines Changed: +9, -20

2 Modified Paths:

/source/blender/freestyle/intern/view_map/AutoPtrHelper.h (+5, -16) (Diff)
/source/blender/freestyle/intern/view_map/ViewMapBuilder.cpp (+4, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021