From a655f6f3660d455c4d609f88727e233925abbcfd Mon Sep 17 00:00:00 2001 From: Anton Lunov Date: Fri, 17 Feb 2023 11:45:58 -0800 Subject: [PATCH] Move SerDeHelper.h to ThriftTransport.cpp (#404) Summary: X-link: https://github.com/facebook/mcrouter/pull/404 Pull Request resolved: https://github.com/facebook/hhvm/pull/9337 Small build speed observation to avoid includes bloat. Differential Revision: D43330734 fbshipit-source-id: 4393b37e5fee155eb58d61f00d3122b12772d73a --- third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport-inl.h | 1 - third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport.cpp | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport-inl.h b/third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport-inl.h index 6e3b51d59bc..8790167179b 100644 --- a/third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport-inl.h +++ b/third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport-inl.h @@ -13,7 +13,6 @@ #include #ifndef LIBMC_FBTRACE_DISABLE -#include #include #endif diff --git a/third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport.cpp b/third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport.cpp index 8432e4c3c2f..3541f03c5a3 100644 --- a/third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport.cpp +++ b/third-party/mcrouter/src/mcrouter/lib/network/ThriftTransport.cpp @@ -13,6 +13,10 @@ #include #include +#ifndef LIBMC_FBTRACE_DISABLE +#include +#endif + #include "mcrouter/lib/fbi/cpp/LogFailure.h" #include "mcrouter/lib/network/AsyncTlsToPlaintextSocket.h" #include "mcrouter/lib/network/ConnectionOptions.h" -- 2.11.4.GIT