|
Boost-Commit : |
From: chintanraoh_at_[hidden]
Date: 2008-06-09 00:08:58
Author: chintanraoh
Date: 2008-06-09 00:08:57 EDT (Mon, 09 Jun 2008)
New Revision: 46268
URL: http://svn.boost.org/trac/boost/changeset/46268
Log:
bug fix for root.empty()==true
Text files modified:
sandbox/SOC/2008/digital_searching/dsearch/boost/dsearch/trie_iterator.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: sandbox/SOC/2008/digital_searching/dsearch/boost/dsearch/trie_iterator.hpp
==============================================================================
--- sandbox/SOC/2008/digital_searching/dsearch/boost/dsearch/trie_iterator.hpp (original)
+++ sandbox/SOC/2008/digital_searching/dsearch/boost/dsearch/trie_iterator.hpp 2008-06-09 00:08:57 EDT (Mon, 09 Jun 2008)
@@ -197,10 +197,12 @@
if( cursor_root.empty() && !cursor_root.has_value() ) //special case of only empty root
{
- end_flag=true;
+// std::cout<<"IN"<<std::endl;
+ this->end_flag=true;
this->push(cursor_root);
return;
}
+// std::cout<<"OUT"<<std::endl
this->push(cursor_root);
to_left_most();
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk