Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52995 - trunk/tools/inspect
From: jewillco_at_[hidden]
Date: 2009-05-14 10:50:57


Author: jewillco
Date: 2009-05-14 10:50:56 EDT (Thu, 14 May 2009)
New Revision: 52995
URL: http://svn.boost.org/trac/boost/changeset/52995

Log:
Fixes #2963
Text files modified:
   trunk/tools/inspect/inspect.cpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/tools/inspect/inspect.cpp
==============================================================================
--- trunk/tools/inspect/inspect.cpp (original)
+++ trunk/tools/inspect/inspect.cpp 2009-05-14 10:50:56 EDT (Thu, 14 May 2009)
@@ -450,6 +450,10 @@
 
   void worst_offenders_count()
   {
+ if ( msgs.empty() )
+ {
+ return;
+ }
     string current_library( msgs.begin()->library );
     int err_count = 0;
     for ( error_msg_vector::iterator itr ( msgs.begin() );


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