Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(988)

Unified Diff: runtime/vm/hash_table.h

Issue 351113002: Attempt to fix Windows compilation error. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/hash_table.h
===================================================================
--- runtime/vm/hash_table.h (revision 37716)
+++ runtime/vm/hash_table.h (working copy)
@@ -455,7 +455,8 @@
template<typename Base>
class HashMap : public Base {
public:
- explicit HashMap(Array& data) : Base(data) {}
+ typedef Base BaseTable;
+ explicit HashMap(Array& data) : BaseTable(data) {}
template<typename Key>
RawObject* GetOrNull(const Key& key, bool* present = NULL) const {
intptr_t entry = Base::FindKey(key);
@@ -514,7 +515,8 @@
template<typename Base>
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698