diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-04-25 19:39:07 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2023-04-25 19:39:07 +0200 |
commit | 383766cb1c5c1f97b7e8624f3eaf019905e1dbae (patch) | |
tree | f3af683c1405138ed357646f34282166c717dcb6 /src | |
parent | 1fe3f0d66aae22e145b987aa6e035c7bbd91f073 (diff) | |
download | fork-ledger-383766cb1c5c1f97b7e8624f3eaf019905e1dbae.tar.gz fork-ledger-383766cb1c5c1f97b7e8624f3eaf019905e1dbae.tar.bz2 fork-ledger-383766cb1c5c1f97b7e8624f3eaf019905e1dbae.zip |
Fix compilation errors with NO_ASSERT
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index a3fc9de5..c17c8fb1 100644 --- a/src/utils.h +++ b/src/utils.h @@ -44,6 +44,7 @@ #pragma once #include <boost/uuid/detail/sha1.hpp> +#include <ledger.hh> #define TIMERS_ON 1 @@ -94,7 +95,7 @@ namespace ledger { #else // !NO_ASSERTS -#define assert(x) +#define assert(x) ((void)(x)) #endif // !NO_ASSERTS |