Fixes for C++98
[junction.git] / junction / extra / impl / MapAdapter_TBB.h
index a87a4653bebdd8ed85a7b903deebe974704fcd87..a40972611384e976db315f13d200e602e9c49a28 100644 (file)
@@ -26,7 +26,7 @@ namespace extra {
 
 class MapAdapter {
 public:
-    static TURF_CONSTEXPR const char* MapName = "Intel TBB concurrent_hash_map";
+    static TURF_CONSTEXPR const char* getMapName() { return "Intel TBB concurrent_hash_map"; }
 
     MapAdapter(ureg) {
     }
@@ -54,7 +54,7 @@ public:
         Map(ureg capacity) : m_map(capacity) {
         }
 
-        void insert(u32 key, void* value) {
+        void assign(u32 key, void* value) {
             m_map.insert(std::make_pair(key, value));
         }