COIN-OR::LEMON - Graph Library

Changeset 1328:d51126dc39fa in lemon for lemon/static_graph.h


Ignore:
Timestamp:
04/02/15 13:36:16 (10 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
1329:6516d9833517, 1331:043a787c3cee
Phase:
public
Message:

Resolve MSVC conversion warnings C4244 (#519)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/static_graph.h

    r956 r1328  
    204204
    205205      node_num = n;
    206       arc_num = std::distance(first, last);
     206      arc_num = static_cast<int>(std::distance(first, last));
    207207
    208208      node_first_out = new int[node_num + 1];
Note: See TracChangeset for help on using the changeset viewer.