Commit dd3fb73f authored by zhujiashun's avatar zhujiashun

Fix compilation when thrift is enabled

parent 8b4ec846
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <algorithm> #include <algorithm>
#include "butil/logging.h" #include "butil/logging.h"
#include "brpc/details/controller_private_accessor.h"
#include <google/protobuf/stubs/once.h> #include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h> #include <google/protobuf/io/coded_stream.h>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "butil/class_name.h" #include "butil/class_name.h"
#include "brpc/channel_base.h" #include "brpc/channel_base.h"
#include "brpc/controller.h" #include "brpc/controller.h"
#include "brpc/proto_base.pb.h"
namespace apache { namespace apache {
namespace thrift { namespace thrift {
...@@ -103,7 +104,7 @@ protected: ...@@ -103,7 +104,7 @@ protected:
private: private:
void SharedCtor(); void SharedCtor();
void SharedDtor(); void SharedDtor();
static ThriftFramedMessage* default_instance_; static ThriftFramedMessageBase _base;
}; };
class ThriftStub { class ThriftStub {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment