Explicitly include <random> to use std::mt19937 in MathBenchmark.
authorZonr Chang <zonr.net@gmail.com>
Thu, 8 Sep 2016 13:18:44 +0000 (06:18 -0700)
committerFacebook 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

index 30d7e5e6429ab25b1fecb4a42c73ec5983799526..5804f56993200dffb097959f216f875cd27076b0 100644 (file)
@@ -17,6 +17,7 @@
 #include <folly/Math.h>
 
 #include <algorithm>
+#include <random>
 
 #include <folly/Benchmark.h>