diff options
Diffstat (limited to 'lib/data.h')
-rw-r--r-- | lib/data.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/data.h b/lib/data.h index 6c2d580..0d599c4 100644 --- a/lib/data.h +++ b/lib/data.h | |||
@@ -203,7 +203,8 @@ namespace verbly { | |||
203 | } else if (it->_group.elems.size() == 1) | 203 | } else if (it->_group.elems.size() == 1) |
204 | { | 204 | { |
205 | bool truelogic = it->_notlogic != it->_group.elems.front()._notlogic; | 205 | bool truelogic = it->_notlogic != it->_group.elems.front()._notlogic; |
206 | *it = it->_group.elems.front(); | 206 | filter<T> e = it->_group.elems.front(); |
207 | *it = e; | ||
207 | it->_notlogic = truelogic; | 208 | it->_notlogic = truelogic; |
208 | } | 209 | } |
209 | } | 210 | } |
@@ -217,7 +218,8 @@ namespace verbly { | |||
217 | if (_group.elems.size() == 1) | 218 | if (_group.elems.size() == 1) |
218 | { | 219 | { |
219 | bool truelogic = _notlogic != _group.elems.front()._notlogic; | 220 | bool truelogic = _notlogic != _group.elems.front()._notlogic; |
220 | *this = _group.elems.front(); | 221 | filter<T> e = _group.elems.front(); |
222 | *this = e; | ||
221 | _notlogic = truelogic; | 223 | _notlogic = truelogic; |
222 | } | 224 | } |
223 | } | 225 | } |