Skip to content

Commit 712c95c

Browse files
Fix mis-versioned constexpr in constexpr_random.h
1 parent 177ec8e commit 712c95c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/test/support/constexpr_random.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ class linear_congruential_engine {
488488
static TEST_CONSTEXPR const result_type multiplier = a;
489489
static TEST_CONSTEXPR const result_type increment = c;
490490
static TEST_CONSTEXPR const result_type modulus = m;
491-
static TEST_CONSTEXPR_CXX14 result_type min() { return min_value; }
492-
static TEST_CONSTEXPR_CXX14 result_type max() { return max_value; }
491+
static TEST_CONSTEXPR result_type min() { return min_value; }
492+
static TEST_CONSTEXPR result_type max() { return max_value; }
493493
static TEST_CONSTEXPR const result_type default_seed = 1u;
494494

495495
// constructors and seeding functions

0 commit comments

Comments
 (0)