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
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-08-14 17:38:45 +0300
committerJulian Eisel <julian@blender.org>2020-08-14 18:03:10 +0300
commitc074943dfd914fafd25f59cd43e26b4e8ac499f0 (patch)
tree66e4a6d06738b27bf410c9803041f17a41ed28dc /source/blender/editors/space_view3d
parent77e4905b171a57bfe6e4e92864747534cdba9f53 (diff)
Fix undefined behavior with --debug-xr
Mistake in cb578ca1048d3. Before that, the extension vector was static, to make sure the extension name strings wouldn't get destructed when leaving the function. I didn't think that was an issue and couldn't recreate one, because until the previous commit we wouldn't actually add any extensions to the vector on Windows (the system I tested with). Use C++17's `std::string_view` now, which avoids the string copies `std::string` creates for itself and thus its destruction when leaving the local scope.
Diffstat (limited to 'source/blender/editors/space_view3d')
0 files changed, 0 insertions, 0 deletions