diff options
author | Julian Eisel <julian@blender.org> | 2021-10-12 17:23:57 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-10-12 17:28:48 +0300 |
commit | 1db42c9b7967507d5d3ac688fb1a4a36bfac5f95 (patch) | |
tree | 6838368ba405562ceddb1a3fdbc59319263a5873 /source/blender/blenkernel/BKE_asset_catalog_path.hh | |
parent | aaf3a63dca54d154711753455d9f1ef3957e99e7 (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/BKE_asset_catalog_path.hh')
0 files changed, 0 insertions, 0 deletions