COIN-OR::LEMON - Graph Library

Changeset 1396:61fdd06833a6 in lemon for lemon/random.h


Ignore:
Timestamp:
10/15/18 23:22:18 (15 months ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Fix warnings emitted by VS2017 (#614)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/random.h

    r1340 r1396  
    343343          num = rnd() & mask;
    344344        } while (num > max);
    345         return num;
     345        return static_cast<Result>(num);
    346346      }
    347347    };
Note: See TracChangeset for help on using the changeset viewer.