Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-01-19 13:59:51 +0300
committerSergey Sharybin <sergey@blender.org>2022-01-19 14:01:49 +0300
commit17882988042e3b8adeffbc2072a5a457cb6efb52 (patch)
tree796a44265febdeea1530f4dead5ada63398faccd /source
parent8a23d91a50923c62be5ed4ce38955dfc60de6e70 (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')
0 files changed, 0 insertions, 0 deletions