move-only: Move NDEBUG compile time check to util/check

This commit is contained in:
MarcoFalke
2020-06-08 08:54:23 -04:00
parent eac65d99dd
commit fa457fbd33
3 changed files with 9 additions and 11 deletions

View File

@@ -39,6 +39,7 @@
#include <ui_interface.h>
#include <uint256.h>
#include <undo.h>
#include <util/check.h> // For NDEBUG compile time check
#include <util/moneystr.h>
#include <util/rbf.h>
#include <util/strencodings.h>
@@ -51,10 +52,6 @@
#include <boost/algorithm/string/replace.hpp>
#if defined(NDEBUG)
# error "Bitcoin cannot be compiled without assertions."
#endif
#define MICRO 0.000001
#define MILLI 0.001