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:
authorJacques Lucke <jacques@blender.org>2022-04-25 12:51:22 +0300
committerJacques Lucke <jacques@blender.org>2022-04-25 12:51:34 +0300
commita2d32960b4de78f545ce52e92185eefd3c93fde1 (patch)
treed07f2c21566f223bd62731ee06e78984caaa17f5 /source/blender/blenlib/tests
parentc63d64a2ce3e49188628d54450b751fd764b8a67 (diff)
BLI: optimize constructing new virtual array
Differential Revision: https://developer.blender.org/D14745
Diffstat (limited to 'source/blender/blenlib/tests')
-rw-r--r--source/blender/blenlib/tests/BLI_any_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/tests/BLI_any_test.cc b/source/blender/blenlib/tests/BLI_any_test.cc
index 2830fe8b320..bf592e74206 100644
--- a/source/blender/blenlib/tests/BLI_any_test.cc
+++ b/source/blender/blenlib/tests/BLI_any_test.cc
@@ -90,7 +90,7 @@ TEST(any, AssignAny)
struct ExtraSizeInfo {
size_t size;
- template<typename T> static ExtraSizeInfo get()
+ template<typename T> static constexpr ExtraSizeInfo get()
{
return {sizeof(T)};
}