COIN-OR::LEMON - Graph Library

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


Ignore:
Timestamp:
04/02/15 13:36:16 (5 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/radix_sort.h

    r1270 r1328  
    329329      Allocator allocator;
    330330
    331       int length = std::distance(first, last);
     331      int length = static_cast<int>(std::distance(first, last));
    332332      Key* buffer = allocator.allocate(2 * length);
    333333      try {
Note: See TracChangeset for help on using the changeset viewer.