Assorted trivial cleanups 3/2019 (#2030)
[stockfish] / src / misc.h
index 3cba486796bd93b0c5c83138f0f64e158cc3af0a..4b238df549decf27c75768ce7fa8177ddcfaab1e 100644 (file)
@@ -53,7 +53,7 @@ struct HashTable {
   Entry* operator[](Key key) { return &table[(uint32_t)key & (Size - 1)]; }
 
 private:
-  std::vector<Entry> table = std::vector<Entry>(Size);
+  std::vector<Entry> table = std::vector<Entry>(Size); // Allocate on the heap
 };