Rename insert() to set() to avoid confusion with std::map::insert()
[junction.git] / junction / extra / impl / MapAdapter_Folly.h
index 02d54a64013e75ca540b46fb799e8f35dea623f5..2cc837674e0931ac444a5ced47f1d58a7797f12e 100644 (file)
@@ -54,7 +54,7 @@ public:
         Map(ureg capacity) : m_map(capacity) {
         }
 
-        void insert(u32 key, void* value) {
+        void set(u32 key, void* value) {
             m_map.insert(std::make_pair(key, value));
         }