Blender Git Loki

Git Commits -> Revision dc7c061

Revision dc7c061 by Sergey Sharybin (temp-cxx-upgrade)
June 18, 2020, 13:18 (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: dc7c06111b61947c61e2aa44587bdc580e6a4b8e
Parent Commit: 2c53c39
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