Make FBVector faster
[folly.git] / folly / test / stl_tests / StlVectorTest.cpp
index 757440941f4ab0d2631222f2b08dc4c87a053c72..1b3d616469ae689c26b0e1c17b82246485266cc4 100644 (file)
@@ -590,7 +590,7 @@ struct Alloc : AllocTracker, Ticker {
 
   std::allocator<T> a;
   int id;
-  explicit Alloc(int i = 8) : a(a), id(i) {}
+  explicit Alloc(int i = 8) : a(), id(i) {}
   Alloc(const Alloc& o) : a(o.a), id(o.id) {}
   Alloc(Alloc&& o) : a(move(o.a)), id(o.id) {}
   Alloc& operator=(const Alloc&) = default;