Skip to content

Commit 2eff2b7

Browse files
r-barnesfacebook-github-bot
authored andcommitted
folly::init -> folly::Init in warm_storage/experimental/ws_airstore/tools/ws_tools/concat.cpp +5
Summary: `folly::init` has been deprecated in favor of `folly::Init` for over two years. Let's make this switch. Reviewed By: shr Differential Revision: D82825549 fbshipit-source-id: 4d0b2011af9186dba4f9fdbdd676a991e9b197d2
1 parent c8729e8 commit 2eff2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

watchman/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ static int inner_main(int argc, char** argv) {
10401040
// signal handling. We want to swap to folly signal handling, so we'll do a
10411041
// full init on Linux to test it. We should remove this if in the future.
10421042
if (kUseFollySignalHandler) {
1043-
folly::init(&argc, &argv, folly::InitOptions().useGFlags(false));
1043+
const folly::Init init(&argc, &argv, folly::InitOptions().useGFlags(false));
10441044
} else {
10451045
folly::SingletonVault::singleton()->registrationComplete();
10461046
}

0 commit comments

Comments
 (0)