Fix MSVC warnings with u64 keys
[junction.git] / junction / ConcurrentMap_LeapFrog.h
index 0a51ad97334668dd56df37a8e1ea6677672b7873..a9dc4a33369f61b15187999daac0802b417e4276 100644 (file)
@@ -37,7 +37,7 @@ private:
     turf::Atomic<typename Details::Table*> m_root;
 
 public:
     turf::Atomic<typename Details::Table*> m_root;
 
 public:
-    ConcurrentMap_LeapFrog(ureg capacity) : m_root(Details::Table::create(capacity)) {
+    ConcurrentMap_LeapFrog(ureg capacity = Details::InitialSize) : m_root(Details::Table::create(capacity)) {
     }
 
     ~ConcurrentMap_LeapFrog() {
     }
 
     ~ConcurrentMap_LeapFrog() {