Skip to content

Commit c5e2b04

Browse files
yfeldblummeta-codesync[bot]
authored andcommitted
Remove unused includes from AsyncSSLSocket.cpp
Summary: Remove two unused include directives from `fbcode/folly/io/async/AsyncSSLSocket.cpp`: - `<folly/Format.h>`: No symbols from this header (`folly::format`, `folly::sformat`, `folly::svformat`) are used. The file uses `fmt::format` from `<fmt/format.h>` instead. - `<folly/lang/Bits.h>`: No symbols from this header (`Endian`, `popcount`, `findFirst`, etc.) are used anywhere in the file. Reviewed By: alexsn Differential Revision: D95404008 fbshipit-source-id: 6c815f3c9893bd231173b2cc35de56f8f36c1559
1 parent f6b3708 commit c5e2b04

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

third-party/folly/src/folly/io/async/AsyncSSLSocket.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include <memory>
2626
#include <utility>
2727

28-
#include <folly/Format.h>
2928
#include <folly/Indestructible.h>
3029
#include <folly/SocketAddress.h>
3130
#include <folly/SpinLock.h>
@@ -34,7 +33,6 @@
3433
#include <folly/io/SocketOptionMap.h>
3534
#include <folly/io/async/EventBase.h>
3635
#include <folly/io/async/ssl/BasicTransportCertificate.h>
37-
#include <folly/lang/Bits.h>
3836
#include <folly/portability/OpenSSL.h>
3937
#include <folly/portability/Sockets.h>
4038
#include <folly/ssl/SSLSession.h>

third-party/folly/src/folly/io/async/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ folly_add_library(
286286
HEADERS
287287
AsyncSSLSocket.h
288288
DEPS
289-
folly_format
290289
folly_indestructible
291290
folly_io_async_ssl_basic_transport_certificate
292291
folly_network_address

0 commit comments

Comments
 (0)