0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

Add missing typeinfo includes

The use of `typeid()` for logging exception types requires this include
according to https://en.cppreference.com/w/cpp/language/typeid.
This commit is contained in:
Wladimir J. van der Laan 2020-01-02 20:54:15 +01:00
parent 4d88c3dcb6
commit 4bdd68f301
2 changed files with 2 additions and 0 deletions

View file

@ -29,6 +29,7 @@
#include <util/validation.h>
#include <memory>
#include <typeinfo>
#if defined(NDEBUG)
# error "Bitcoin cannot be compiled without assertions."

View file

@ -63,6 +63,7 @@
#endif
#include <thread>
#include <typeinfo>
#include <univalue.h>
// Application startup time (used for uptime calculation)