X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Ftest%2FFileTestLockHelper.cpp;h=baa7477e2c2f41adc490cae2671de228b45803a2;hb=a60bf0bb374f4b57c0f00cd862e2861e1f381ed0;hp=44487eb9b0041cdf663e485bb8c35e35d801f8a7;hpb=ce64f0f685111ac24c7a321ea56d0c3524621df1;p=folly.git diff --git a/folly/test/FileTestLockHelper.cpp b/folly/test/FileTestLockHelper.cpp index 44487eb9..baa7477e 100644 --- a/folly/test/FileTestLockHelper.cpp +++ b/folly/test/FileTestLockHelper.cpp @@ -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. @@ -14,16 +14,16 @@ * limitations under the License. */ -#include #include #include +#include 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";