From b77bd818f70de36ebb8b2d3e52dacfb2330d5a11 Mon Sep 17 00:00:00 2001 From: "koda@google.com" Date: Thu, 26 Jun 2014 01:27:26 +0000 Subject: [PATCH] Attempt to fix Windows compilation error. TBR=asiva@google.com Review URL: https://codereview.chromium.org//351113002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37718 260f80e4-7a28-3924-810f-c04153c831b5 --- runtime/vm/hash_table.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/vm/hash_table.h b/runtime/vm/hash_table.h index 82dfb184c02..420dedcac07 100644 --- a/runtime/vm/hash_table.h +++ b/runtime/vm/hash_table.h @@ -455,7 +455,8 @@ class HashTables : public AllStatic { template class HashMap : public Base { public: - explicit HashMap(Array& data) : Base(data) {} + typedef Base BaseTable; + explicit HashMap(Array& data) : BaseTable(data) {} template RawObject* GetOrNull(const Key& key, bool* present = NULL) const { intptr_t entry = Base::FindKey(key); @@ -514,7 +515,8 @@ class EnumIndexHashMap : public HashMap > { template class HashSet : public Base { public: - explicit HashSet(Array& data) : Base(data) {} + typedef Base BaseTable; + explicit HashSet(Array& data) : BaseTable(data) {} bool Insert(const Object& key) { HashTables::EnsureLoadFactor(0.0, 0.75, *this); intptr_t entry = -1;