From a69f566e0a7a20245b35b15d000f7768176e6066 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Mon, 7 Sep 2015 19:33:23 -0600 Subject: [PATCH] Remove std::is_trivially_destructible assertion because the trait may not be provided by the STL. --- src/walltime.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/walltime.cc b/src/walltime.cc index e045729a..dfc9ada9 100644 --- a/src/walltime.cc +++ b/src/walltime.cc @@ -24,7 +24,6 @@ #include #include #include -#include #include "arraysize.h" #include "check.h" @@ -64,11 +63,6 @@ public: static WallTimeImp& GetWallTimeImp() { static WallTimeImp imp; -#if __cplusplus >= 201103L - static_assert(std::is_trivially_destructible::value, - "WallTimeImp must be trivially destructible to prevent " - "issues with static destruction"); -#endif return imp; }