vcpkg/ports/brpc/fix-boost-ptr.patch
day253 819a768249
[brpc] Updata to 1.1.0 (#24975)
Co-authored-by: daijunkai <daijunkai@ishumei.com>
2022-06-02 12:53:28 -07:00

15 lines
425 B
Diff

diff --git a/src/brpc/policy/thrift_protocol.cpp b/src/brpc/policy/thrift_protocol.cpp
index 634f8f37..21b118b1 100755
--- a/src/brpc/policy/thrift_protocol.cpp
+++ b/src/brpc/policy/thrift_protocol.cpp
@@ -45,8 +45,7 @@
#if defined(_THRIFT_STDCXX_H_)
# define THRIFT_STDCXX apache::thrift::stdcxx
#else
- # define THRIFT_STDCXX boost
- # include <boost/make_shared.hpp>
+ # define THRIFT_STDCXX std
#endif
#endif