diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2018-11-13 04:15:09 -0500 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2018-11-14 12:19:04 -0500 |
commit | 7bad78c2c83d73b7e0518f3e1b835f0157b80ec6 (patch) | |
tree | e07aa7895ccd6b34ec07fbe7f5fc12a161bd49ca /src/compat.h | |
parent | b60f4e3f095124a71394d6b2aafaedca2be6c1ad (diff) |
Drop defunct IS_TRIVIALLY_CONSTRUCTIBLE handling from prevector.h
It's now only referenced from the bench, so leave it there. This allows us to
drop the associated includes as well.
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/compat.h b/src/compat.h index d228611160..049579c365 100644 --- a/src/compat.h +++ b/src/compat.h @@ -10,16 +10,6 @@ #include <config/bitcoin-config.h> #endif -#include <type_traits> - -// GCC 4.8 is missing some C++11 type_traits, -// https://www.gnu.org/software/gcc/gcc-5/changes.html -#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 5 -#define IS_TRIVIALLY_CONSTRUCTIBLE std::has_trivial_default_constructor -#else -#define IS_TRIVIALLY_CONSTRUCTIBLE std::is_trivially_default_constructible -#endif - #ifdef WIN32 #ifdef _WIN32_WINNT #undef _WIN32_WINNT |