vcpkg/ports/brpc/fix_boost_ptr.patch
curoky f533327462
[brpc] Add new port (#11524)
* [brpc] add new port

* [brpc] ci ignore build error on windows

* [brpc] update version and delete deprecated function

* [brpc] fail install on windows

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [brpc] not support windows

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update portfile.cmake

Update the format and remove unused comments

* [brpc] rebase master

* [brpc] reset ci.baseline.txt

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-07-31 11:10:00 -07:00

15 lines
425 B
Diff

diff --git a/src/brpc/policy/thrift_protocol.cpp b/src/brpc/policy/thrift_protocol.cpp
index eae081a0..39c92338 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