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

This commit is contained in:
Eric Fiselier 2015-09-07 19:33:23 -06:00
parent 47c304536e
commit a69f566e0a
1 changed files with 0 additions and 6 deletions

View File

@ -24,7 +24,6 @@
#include <atomic>
#include <chrono>
#include <limits>
#include <type_traits>
#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<WallTimeImp>::value,
"WallTimeImp must be trivially destructible to prevent "
"issues with static destruction");
#endif
return imp;
}