Blender Git Loki

Git Commits -> Revision c9c03f6

Revision c9c03f6 by Sergey Sharybin (cycles-x)
February 17, 2021, 11:00 (GMT)
Cycles: Pull make_unique into the ccl namespace

Allows to allocate object instances which are guarded by unique_ptr
in a more modern fashion.

This is a C++14 feature, which is higher than typically used C++11
in the Cycles code. Since Blender is C++17 it makes sense to move
to a newer standard in Cycles as well. All this is applicable if
there are no other places in Cycles which are relying on a more
modern C++ already.

Commit Details:

Full Hash: c9c03f68a3ba68f36950302fa6eccaaf23b09b55
Parent Commit: 2402255
Lines Changed: +1, -0

1 Modified Path:

/intern/cycles/util/util_unique_ptr.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021