Switch ConsoleDetours off KTrie (bug 5884 part 9, r=ds).
This commit is contained in:
@@ -115,6 +115,7 @@ public:
|
||||
}
|
||||
|
||||
typedef typename Internal::Result Result;
|
||||
typedef typename Internal::iterator iterator;
|
||||
|
||||
// Some KTrie-like helper functions.
|
||||
bool retrieve(const char *aKey, T *aResult = NULL)
|
||||
@@ -191,6 +192,10 @@ public:
|
||||
internal_.clear();
|
||||
}
|
||||
|
||||
iterator iter() {
|
||||
return internal_.iter();
|
||||
}
|
||||
|
||||
size_t mem_usage() const {
|
||||
return internal_.estimateMemoryUse() + memory_used_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user