mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fix preprocessor error.
This commit is contained in:
parent
628d3e8546
commit
1a94e77910
@ -93,7 +93,7 @@ inline final_act<F> finally(F&& f) noexcept
|
|||||||
}
|
}
|
||||||
|
|
||||||
// narrow_cast(): a searchable way to do narrowing casts of values
|
// narrow_cast(): a searchable way to do narrowing casts of values
|
||||||
#if _MSC_VER <= 1800
|
#if defined(_MSC_VER) && _MSC_VER <= 1800
|
||||||
template <class T, class U>
|
template <class T, class U>
|
||||||
inline constexpr T narrow_cast(U u) noexcept
|
inline constexpr T narrow_cast(U u) noexcept
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user