mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
refs #450 Added disk file saving and loading of CValueCache.
This commit is contained in:
@@ -332,6 +332,9 @@ namespace BlackMisc
|
||||
//! Insert new item with key and value
|
||||
iterator insert(const Key &key, const Value &value) { return m_impl.insert(key, value); }
|
||||
|
||||
//! Insert all items of other dictionary into this dictionary
|
||||
void insert(const CDictionary &other) { for (auto i = other.cbegin(); i != other.cend(); ++i) { insert(i.key(), i.value()); } }
|
||||
|
||||
//! Returns true if dictionary is empty
|
||||
bool isEmpty() const { return m_impl.isEmpty(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user