Remove duplicates during bulk insertion.
[folly.git] / folly / test / FileTestLockHelper.cpp
index 2ab343904d40bb954f0f6da9d5703b60055fcdaf..baa7477e2c2f41adc490cae2671de228b45803a2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 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/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";