Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84180 - trunk/tools/auto_index/src
From: john_at_[hidden]
Date: 2013-05-07 13:02:39


Author: johnmaddock
Date: 2013-05-07 13:02:39 EDT (Tue, 07 May 2013)
New Revision: 84180
URL: http://svn.boost.org/trac/boost/changeset/84180

Log:
Fix bug for situation where no suitable index location is found.
Text files modified:
   trunk/tools/auto_index/src/auto_index.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/tools/auto_index/src/auto_index.cpp
==============================================================================
--- trunk/tools/auto_index/src/auto_index.cpp (original)
+++ trunk/tools/auto_index/src/auto_index.cpp 2013-05-07 13:02:39 EDT (Tue, 07 May 2013)
@@ -590,6 +590,8 @@
                         preferred_term = true;
                      }
                      parent = parent->parent.lock();
+ if(!parent)
+ break;
                   }
                }
                catch(const std::exception&){}


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