Commit a69f566e by Eric Fiselier

Remove std::is_trivially_destructible assertion because the trait may not be provided by the STL.

parent 47c30453
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <atomic> #include <atomic>
#include <chrono> #include <chrono>
#include <limits> #include <limits>
#include <type_traits>
#include "arraysize.h" #include "arraysize.h"
#include "check.h" #include "check.h"
...@@ -64,11 +63,6 @@ public: ...@@ -64,11 +63,6 @@ public:
static WallTimeImp& GetWallTimeImp() { static WallTimeImp& GetWallTimeImp() {
static WallTimeImp imp; static WallTimeImp imp;
#if __cplusplus >= 201103L
static_assert(std::is_trivially_destructible<WallTimeImp>::value,
"WallTimeImp must be trivially destructible to prevent "
"issues with static destruction");
#endif
return imp; return imp;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment