Kaydet (Commit) 58ceb161 authored tarafından Michael Meeks's avatar Michael Meeks

configmgr: fix node cache clearing.

Change-Id: Idd6c227b8f50446c1d3c48385de6c843faf47466
üst 44fb7631
...@@ -52,8 +52,8 @@ class NodeMap ...@@ -52,8 +52,8 @@ class NodeMap
iterator end() { return maImpl.end(); } iterator end() { return maImpl.end(); }
const_iterator end() const { return maImpl.end(); } const_iterator end() const { return maImpl.end(); }
rtl::Reference<Node> &operator[](const OUString &aStr) { return maImpl[aStr]; /* clearCache(); */ } rtl::Reference<Node> &operator[](const OUString &aStr) { clearCache(); return maImpl[aStr]; }
std::pair<iterator,bool> insert(const value_type &vt) { return maImpl.insert(vt); /* clearCache(); */ } std::pair<iterator,bool> insert(const value_type &vt) { clearCache(); return maImpl.insert(vt); }
void clear() { maImpl.clear(); clearCache(); } void clear() { maImpl.clear(); clearCache(); }
void erase(const iterator &it) { maImpl.erase(it); clearCache(); } void erase(const iterator &it) { maImpl.erase(it); clearCache(); }
void erase(const OUString &aStr) { maImpl.erase(aStr); clearCache(); } void erase(const OUString &aStr) { maImpl.erase(aStr); clearCache(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment