Needless constexpr broke build but only on current sid GCC?

This commit is contained in:
наб committed 2023-12-06 03:22:03 +01:00
1 parent 8997b47acf
commit cfd02ff6f3
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@
({ \
auto _try_ret = (__VA_ARGS__); \
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)); \
return err_ret; \
} \