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:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user