Skip to content

Commit

Permalink
Move SerDeHelper.h to ThriftTransport.cpp (facebook#404)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebook/mcrouter#404

Pull Request resolved: facebook#9337

Small build speed observation to avoid includes bloat.

Differential Revision: D43330734

fbshipit-source-id: 3862749f86fb6c56102868c5745b6fbc89ab9763
  • Loading branch information
antonl2 authored and facebook-github-bot committed Feb 15, 2023
1 parent 7818943 commit c7250cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <folly/ExceptionWrapper.h>

#ifndef LIBMC_FBTRACE_DISABLE
#include <contextprop/cpp/serde/SerDeHelper.h>
#include <contextprop/if/gen-cpp2/ContextpropConstants_constants.h>
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#include <folly/io/async/EventBase.h>
#include <thrift/lib/cpp2/async/RequestChannel.h>

#ifndef LIBMC_FBTRACE_DISABLE
#include <contextprop/cpp/serde/SerDeHelper.h>
#endif

#include "mcrouter/lib/fbi/cpp/LogFailure.h"
#include "mcrouter/lib/network/AsyncTlsToPlaintextSocket.h"
#include "mcrouter/lib/network/ConnectionOptions.h"
Expand Down

0 comments on commit c7250cc

Please sign in to comment.