diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-01-19 13:59:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-01-19 14:01:49 +0300 |
commit | 17882988042e3b8adeffbc2072a5a457cb6efb52 (patch) | |
tree | 796a44265febdeea1530f4dead5ada63398faccd /source/blender/sequencer/CMakeLists.txt | |
parent | 8a23d91a50923c62be5ed4ce38955dfc60de6e70 (diff) |
Cleanup: Strict compiler warning in Cycles
The ustring is not a trivially copyable object from the C++ standard
point of view, so using memcpy on it is strictly wrong. In practice,
however, this is OK since it is just a thin wrapper around char*.
For now use explicit cast to void* same as it was done in other places
of ccl::array implementation. But also localize the place where memory
copy happens to make it easier to support proper non-trivial C++
objects in the future.
Diffstat (limited to 'source/blender/sequencer/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions