mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-06-08 22:42:05 +03:00
Needless constexpr broke build but only on current sid GCC?
This commit is contained in:
parent
8997b47acf
commit
cfd02ff6f3
@ -13,7 +13,7 @@
|
|||||||
({ \
|
({ \
|
||||||
auto _try_ret = (__VA_ARGS__); \
|
auto _try_ret = (__VA_ARGS__); \
|
||||||
if(cond_pre _try_ret cond_post) { \
|
if(cond_pre _try_ret cond_post) { \
|
||||||
if constexpr(what != nullptr) \
|
if(what != nullptr) \
|
||||||
fprintf(stderr, "Couldn't %s: %s\n", static_cast<const char *>(what), strerr(err_src)); \
|
fprintf(stderr, "Couldn't %s: %s\n", static_cast<const char *>(what), strerr(err_src)); \
|
||||||
return err_ret; \
|
return err_ret; \
|
||||||
} \
|
} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user