diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-04-27 17:07:07 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2016-05-01 10:28:03 +0300 |
commit | 21e50e2d5e3f2fca71cc4da012e6d2687ed773a2 (patch) | |
tree | 75d7ca72b65b36452c85da23fc6e53a32dce066e /base | |
parent | 60f44c06991d632771a6ed7c83077c312f5cd65f (diff) |
[indexer] Added move assignment operator for CategoriesIndex.
Diffstat (limited to 'base')
-rw-r--r-- | base/mem_trie.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/mem_trie.hpp b/base/mem_trie.hpp index 9cdcc29755..7cf7678e11 100644 --- a/base/mem_trie.hpp +++ b/base/mem_trie.hpp @@ -21,6 +21,8 @@ public: other.m_numNodes = 0; } + MemTrie & operator=(MemTrie && other) = default; + // Adds a key-value pair to the trie. void Add(TString const & key, TValue const & value) { @@ -61,6 +63,8 @@ private: Node(Node && other) = default; + Node & operator=(Node && other) = default; + ~Node() { for (auto const & move : m_moves) |