Remove Benchmark.h dependency in SpookyHash tests
authorMichael Lee <mzlee@fb.com>
Tue, 13 Sep 2016 23:02:19 +0000 (16:02 -0700)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Tue, 13 Sep 2016 23:08:30 +0000 (16:08 -0700)
Summary: It would seem the folly/Benchmark.h dependency was to pull in glog/logging.h. Include what you use.

Reviewed By: yfeldblum

Differential Revision: D3857112

fbshipit-source-id: 8d5bd105e10eee8f5b6e5d377d58ae84d908ed57

folly/test/SpookyHashV1Test.cpp
folly/test/SpookyHashV2Test.cpp

index 4b81ce1997ab1bfe1230645cc17c2ae7153b1f03..9b78bda33c11c9ab1162fbfcdbc53772b51517c6 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include <folly/SpookyHashV1.h>
-#include <folly/Benchmark.h>
 #include <folly/portability/GTest.h>
 
 #include <cinttypes>
@@ -31,6 +30,8 @@
 #include <cstdlib>
 #include <ctime>
 
+#include <glog/logging.h>
+
 using namespace ::folly::hash;
 
 static bool failed = false;
index c17031876a9c169dfcf803495d50a439d860fdf9..26a0c8a6ee37d62c19e38d9cfc2b2dee442a9969 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #include <folly/SpookyHashV2.h>
-#include <folly/Benchmark.h>
 #include <folly/portability/GTest.h>
 
 #include <cinttypes>
@@ -31,6 +30,8 @@
 #include <cstdlib>
 #include <ctime>
 
+#include <glog/logging.h>
+
 using namespace ::folly::hash;
 
 static bool failed = false;