Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
a69f566e
Commit
a69f566e
authored
Sep 07, 2015
by
Eric Fiselier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove std::is_trivially_destructible assertion because the trait may not be provided by the STL.
parent
47c30453
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
walltime.cc
src/walltime.cc
+0
-6
No files found.
src/walltime.cc
View file @
a69f566e
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment