[Bf-blender-cvs] [fe98d8c0eab] master: Cleanup: remove unused method

Jacques Lucke noreply at git.blender.org
Sat Apr 4 14:14:50 CEST 2020


Commit: fe98d8c0eabcd287dc452c893e569e7448ad029a
Author: Jacques Lucke
Date:   Sat Apr 4 14:13:53 2020 +0200
Branches: master
https://developer.blender.org/rBfe98d8c0eabcd287dc452c893e569e7448ad029a

Cleanup: remove unused method

===================================================================

M	source/blender/blenlib/BLI_string_map.h

===================================================================

diff --git a/source/blender/blenlib/BLI_string_map.h b/source/blender/blenlib/BLI_string_map.h
index ed97a6ae349..f304b140bcc 100644
--- a/source/blender/blenlib/BLI_string_map.h
+++ b/source/blender/blenlib/BLI_string_map.h
@@ -450,15 +450,6 @@ template<typename T, typename Allocator = GuardedAllocator> class StringMap {
     }
     ITER_SLOTS_END(offset);
   }
-
-  template<typename ForwardT> void add__impl(StringRef key, ForwardT &&value)
-  {
-    this->ensure_can_add();
-    uint32_t hash = this->compute_string_hash(key);
-    ITER_SLOTS_BEGIN (hash, m_array, , item, offset) {
-    }
-    ITER_SLOTS_END(offset);
-  }
 };
 
 #undef ITER_SLOTS_BEGIN



More information about the Bf-blender-cvs mailing list