Blender Git Commit Log

Git Commits -> Revision 1db42c9

Revision 1db42c9 by Julian Eisel (master)
October 12, 2021, 14:28 (GMT)
Address warning about breaking copy elision of temporary object

Using `std::move()` on temporary objects prevents copy elision done by
compilers. Apple Clang warns about this.

Generally `std::move()` should be used sparingly:
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines

Commit Details:

Full Hash: 1db42c9b7967507d5d3ac688fb1a4a36bfac5f95
Parent Commit: aaf3a63
Lines Changed: +6, -6

1 Modified Path:

/source/blender/blenkernel/intern/asset_catalog.cc (+6, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021