diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2020-04-17 11:15:55 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2020-05-13 16:20:13 -0400 |
commit | 691c817b340d10e806dc3b1834d2a8fcc5e681fd (patch) | |
tree | 1488abd285cf8d1026ac735ef03b80311c767326 /src/util/check.h | |
parent | 04c09553d89809cf6328679d7535ecaa0070485d (diff) | |
download | bitcoin-691c817b340d10e806dc3b1834d2a8fcc5e681fd.tar.xz |
Add util::Ref class as temporary alternative for c++17 std::any
This commit does not change behavior
Diffstat (limited to 'src/util/check.h')
-rw-r--r-- | src/util/check.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/check.h b/src/util/check.h index d18887ae95..5c0f32cf51 100644 --- a/src/util/check.h +++ b/src/util/check.h @@ -5,6 +5,10 @@ #ifndef BITCOIN_UTIL_CHECK_H #define BITCOIN_UTIL_CHECK_H +#if defined(HAVE_CONFIG_H) +#include <config/bitcoin-config.h> +#endif + #include <tinyformat.h> #include <stdexcept> |