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:
Diffstat (limited to 'extern/bullet2/src/LinearMath/btHashMap.h')
-rw-r--r--extern/bullet2/src/LinearMath/btHashMap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extern/bullet2/src/LinearMath/btHashMap.h b/extern/bullet2/src/LinearMath/btHashMap.h
index ce07db3ac6b..af9727b7ada 100644
--- a/extern/bullet2/src/LinearMath/btHashMap.h
+++ b/extern/bullet2/src/LinearMath/btHashMap.h
@@ -399,6 +399,10 @@ protected:
return find(key);
}
+ const Value* operator[](const Key& key) const {
+ return find(key);
+ }
+
const Value* find(const Key& key) const
{
int index = findIndex(key);