projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf78421
)
Explicitly include <random> to use std::mt19937 in MathBenchmark.
author
Zonr Chang
<zonr.net@gmail.com>
Thu, 8 Sep 2016 13:18:44 +0000
(06:18 -0700)
committer
Facebook Github Bot 6
<facebook-github-bot-6-bot@fb.com>
Thu, 8 Sep 2016 13:23:43 +0000
(06:23 -0700)
Summary:
This fixes build with Clang.
Closes https://github.com/facebook/folly/pull/470
Differential Revision:
D3834865
Pulled By: nbronson
fbshipit-source-id:
02c1ca192c6b6af2cc0a8fdaa0a854510cb0bca4
folly/test/MathBenchmark.cpp
patch
|
blob
|
history
diff --git
a/folly/test/MathBenchmark.cpp
b/folly/test/MathBenchmark.cpp
index 30d7e5e6429ab25b1fecb4a42c73ec5983799526..5804f56993200dffb097959f216f875cd27076b0 100644
(file)
--- a/
folly/test/MathBenchmark.cpp
+++ b/
folly/test/MathBenchmark.cpp
@@
-17,6
+17,7
@@
#include <folly/Math.h>
#include <algorithm>
+#include <random>
#include <folly/Benchmark.h>