mirror of https://github.com/procxx/kepka.git
Add comment related to conditional compilation
This commit is contained in:
parent
001068cb2c
commit
f99f80b478
|
@ -43,6 +43,8 @@ inline constexpr void noop() {
|
||||||
std::abort();
|
std::abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Since MSVC 2015 cannot understand "constexpr void" (void is literal since C++14)
|
||||||
|
// we have to use conditional compilation
|
||||||
inline
|
inline
|
||||||
#if !defined(_MSC_VER) || (_MSC_VER > 1900)
|
#if !defined(_MSC_VER) || (_MSC_VER > 1900)
|
||||||
constexpr
|
constexpr
|
||||||
|
|
Loading…
Reference in New Issue