Skip to content

Commit e946d38

Browse files
r-barnesfacebook-github-bot
authored andcommitted
folly::init -> folly::Init in jemalloc/playground/thrift_repro.cpp +5
Summary: `folly::init` has been deprecated in favor of `folly::Init` for over two years. Let's make this switch. Reviewed By: dtolnay Differential Revision: D82664131 fbshipit-source-id: d9980fa7f5faf094ad26d0d2f7bfa8f6c6dcd380
1 parent b829901 commit e946d38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example_grpc/katran_server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void RunServer(
106106
}
107107

108108
int main(int argc, char** argv) {
109-
folly::init(&argc, &argv);
109+
const folly::Init init(&argc, &argv);
110110
FLAGS_logtostderr = 1;
111111

112112
auto forwardingCores = parseIntLine(FLAGS_forwarding_cores);

0 commit comments

Comments
 (0)