Use LLVM_CONSTEXPR to appease MSVC2013 (fixup for r283854)

llvm-svn: 283855
This commit is contained in:
Mehdi Amini 2016-10-11 07:29:43 +00:00
parent ea8e9795a5
commit cbf2e67461
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ public:
/// Returns a random number in the range [0, Max).
result_type operator()();
static constexpr result_type min() { return generator_type::min(); }
static constexpr result_type max() { return generator_type::max(); }
static LLVM_CONSTEXPR result_type min() { return generator_type::min(); }
static LLVM_CONSTEXPR result_type max() { return generator_type::max(); }
private:
/// Seeds and salts the underlying RNG engine.