diff options
author | Adrian Kummerländer | 2016-06-17 19:57:39 +0200 |
---|---|---|
committer | GitHub | 2016-06-17 19:57:39 +0200 |
commit | ddafc016d088de3e63087507a44827775aaa2c33 (patch) | |
tree | 523973575a9d1992f061954f282170521deee5c6 /src | |
parent | 6c14deb5b8e377a7bdc1a44d91458f17a4f24981 (diff) | |
parent | cdbb5934d7522e2e9c966fbfdcaa8d0647bc2c1c (diff) | |
download | Trie-ddafc016d088de3e63087507a44827775aaa2c33.tar Trie-ddafc016d088de3e63087507a44827775aaa2c33.tar.gz Trie-ddafc016d088de3e63087507a44827775aaa2c33.tar.bz2 Trie-ddafc016d088de3e63087507a44827775aaa2c33.tar.lz Trie-ddafc016d088de3e63087507a44827775aaa2c33.tar.xz Trie-ddafc016d088de3e63087507a44827775aaa2c33.tar.zst Trie-ddafc016d088de3e63087507a44827775aaa2c33.zip |
Evaluation order in this case is unspecified
Diffstat (limited to 'src')
-rw-r--r-- | src/trie.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -77,7 +77,8 @@ class Trie { typename key_list::const_iterator end ) { if ( current != end ) { - return this->children_[*current].add(++current, end); + auto element = *current; + return this->children_[element].add(++current, end); } else { return this; } |