Fix class member shadowing in folly::ProducerConsumerQueue
[folly.git] / folly / test / FileTestLockHelper.cpp
index 44487eb9b0041cdf663e485bb8c35e35d801f8a7..baa7477e2c2f41adc490cae2671de228b45803a2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 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.
  * limitations under the License.
  */
 
-#include <gflags/gflags.h>
 #include <glog/logging.h>
 
 #include <folly/File.h>
+#include <folly/portability/GFlags.h>
 
 DEFINE_bool(s, false, "get shared lock");
 DEFINE_bool(x, false, "get exclusive lock");
 
 int main(int argc, char *argv[]) {
-  google::ParseCommandLineFlags(&argc, &argv, true);
+  gflags::ParseCommandLineFlags(&argc, &argv, true);
   google::InitGoogleLogging(argv[0]);
   CHECK_EQ(FLAGS_s + FLAGS_x, 1)
     << "exactly one of -s and -x must be specified";