mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
missed a GSL_CONSTEXPR_NARROW for removal
This commit is contained in:
parent
09caa20d99
commit
a6d382109e
@ -122,8 +122,4 @@ TEST(utils_tests, narrow)
|
|||||||
|
|
||||||
n = -42;
|
n = -42;
|
||||||
EXPECT_THROW(narrow<unsigned>(n), narrowing_error);
|
EXPECT_THROW(narrow<unsigned>(n), narrowing_error);
|
||||||
|
|
||||||
#if GSL_CONSTEXPR_NARROW
|
|
||||||
static_assert(narrow<char>(120) == 120, "Fix GSL_CONSTEXPR_NARROW");
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user