Add wrapper for getting X509_digest from a cert
[folly.git] / folly / test / MathBenchmark.cpp
index 30d7e5e6429ab25b1fecb4a42c73ec5983799526..153296e443e240f642d4d7d8b7ce89764a66a6d8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -17,6 +17,7 @@
 #include <folly/Math.h>
 
 #include <algorithm>
+#include <random>
 
 #include <folly/Benchmark.h>
 
@@ -88,7 +89,7 @@ void runDivTests(const F& func, size_t iters) {
     }
   }
 }
-}
+} // namespace
 
 BENCHMARK_DRAW_LINE();
 BENCHMARK(divTruncInt8, iters) {