$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r83409 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2013-03-11 20:34:39
Author: jewillco
Date: 2013-03-11 20:34:38 EDT (Mon, 11 Mar 2013)
New Revision: 83409
URL: http://svn.boost.org/trac/boost/changeset/83409
Log:
Changed .size() comparison against 0 to .empty()
Text files modified:
trunk/boost/graph/r_c_shortest_paths.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/r_c_shortest_paths.hpp
==============================================================================
--- trunk/boost/graph/r_c_shortest_paths.hpp (original)
+++ trunk/boost/graph/r_c_shortest_paths.hpp 2013-03-11 20:34:38 EDT (Mon, 11 Mar 2013)
@@ -409,7 +409,7 @@
typename std::list<Splabel>::const_iterator csi = dsplabels.begin();
typename std::list<Splabel>::const_iterator csi_end = dsplabels.end();
// if d could be reached from o
- if( dsplabels.size() )
+ if( !dsplabels.empty() )
{
for( ; csi != csi_end; ++csi )
{