2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-31 20:22:09 +00:00

Changed .size() comparison against 0 to .empty()

[SVN r83409]
This commit is contained in:
Jeremiah Willcock
2013-03-12 00:34:38 +00:00
parent 02aaeccae5
commit 2539ea8bca

View File

@@ -409,7 +409,7 @@ void r_c_shortest_paths_dispatch
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 )
{