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>2020-07-24 13:15:13 +0300
committerJacques Lucke <jacques@blender.org>2020-07-24 13:15:13 +0300
commitb53c46d760568f02cd8be45547a4ffacad3c7b47 (patch)
tree51abc55d4735fedefbfccca6d4e13b074f75f88b /source/blender/blenlib/CMakeLists.txt
parent141deeefff5f68a3fd629f91ddda22ba49f9a4e0 (diff)
BLI: add MultiValueMap
This is a convenience wrapper for `Map<Key, Vector<Value>>`. It does not provide any performance benefits (yet). I need this kind of map in a couple of places and before I was duplicating the lookup logic in many places.
Diffstat (limited to 'source/blender/blenlib/CMakeLists.txt')
-rw-r--r--source/blender/blenlib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt
index db44ebe8e55..4997917a93f 100644
--- a/source/blender/blenlib/CMakeLists.txt
+++ b/source/blender/blenlib/CMakeLists.txt
@@ -353,6 +353,7 @@ if(WITH_GTESTS)
tests/BLI_map_test.cc
tests/BLI_math_base_safe_test.cc
tests/BLI_memory_utils_test.cc
+ tests/BLI_multi_value_map_test.cc
tests/BLI_set_test.cc
tests/BLI_span_test.cc
tests/BLI_stack_cxx_test.cc