mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-27 14:25:02 +02:00
move-only: Move NDEBUG compile time check to util/check
This commit is contained in:
@@ -42,4 +42,8 @@ class NonFatalCheckError : public std::runtime_error
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
#if defined(NDEBUG)
|
||||
#error "Cannot compile without assertions!"
|
||||
#endif
|
||||
|
||||
#endif // BITCOIN_UTIL_CHECK_H
|
||||
|
||||
Reference in New Issue
Block a user