diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-06-10 17:16:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-10 17:16:03 +0200 |
commit | f24f0a793ce62c1cb91eb17a2d3a00763c2bac3a (patch) | |
tree | 8adad8af12430df659384d1503ef05750637b3b9 | |
parent | 5e2afd286a332b93481750821be4785fbbd555a4 (diff) | |
parent | 383766cb1c5c1f97b7e8624f3eaf019905e1dbae (diff) | |
download | fork-ledger-f24f0a793ce62c1cb91eb17a2d3a00763c2bac3a.tar.gz fork-ledger-f24f0a793ce62c1cb91eb17a2d3a00763c2bac3a.tar.bz2 fork-ledger-f24f0a793ce62c1cb91eb17a2d3a00763c2bac3a.zip |
Merge pull request #2250 from afh/fix-no-assert
Fix compilation errors with NO_ASSERT
-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 |