From c7250cc52b082e85391e62c2f868ac5b1e52f141 Mon Sep 17 00:00:00 2001 From: Anton Lunov Date: Wed, 15 Feb 2023 15:02:42 -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: 3862749f86fb6c56102868c5745b6fbc89ab9763 --- .../mcrouter/src/mcrouter/lib/network/ThriftTransport-inl.h | 1 - .../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 6e3b51d59bccc..8790167179b54 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 8432e4c3c2f60..3541f03c5a3b1 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"