Fix source_location for clang
This commit is contained in:
parent
7cfe707bc3
commit
700a3484ac
@ -25,7 +25,8 @@
|
|||||||
|
|
||||||
#include <cstdint> //uint_least32_t
|
#include <cstdint> //uint_least32_t
|
||||||
|
|
||||||
#if __cplusplus >= 202002L
|
//clang bug: https://bugs.llvm.org/show_bug.cgi?id=48886
|
||||||
|
#if __cplusplus >= 202002L && !defined(__clang__)
|
||||||
#define CONSTEVAL consteval
|
#define CONSTEVAL consteval
|
||||||
#else
|
#else
|
||||||
#define CONSTEVAL constexpr
|
#define CONSTEVAL constexpr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user