From ad9b56c1b66912acdc80d2844105e4460687d229 Mon Sep 17 00:00:00 2001 From: Andrii Grynenko Date: Wed, 8 Mar 2017 14:13:08 -0800 Subject: [PATCH] Fixes to always call Singleton's registrationComplete()/initFacebook() Reviewed By: yfeldblum Differential Revision: D4671818 fbshipit-source-id: 80154adfef238f0be62da12fb843e22de1ae65ca --- folly/io/async/test/AsyncSSLSocketTest2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/folly/io/async/test/AsyncSSLSocketTest2.cpp b/folly/io/async/test/AsyncSSLSocketTest2.cpp index e3026a17..06b6db7d 100644 --- a/folly/io/async/test/AsyncSSLSocketTest2.cpp +++ b/folly/io/async/test/AsyncSSLSocketTest2.cpp @@ -18,6 +18,7 @@ #include #include +#include #include #include #include @@ -208,6 +209,6 @@ int main(int argc, char *argv[]) { #endif }); testing::InitGoogleTest(&argc, argv); - gflags::ParseCommandLineFlags(&argc, &argv, true); + folly::init(&argc, &argv); return RUN_ALL_TESTS(); } -- 2.34.1