Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/brpc/mongo_service_adaptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class MongoContextMessage : public InputMessageBase {

class MongoServiceAdaptor {
public:
virtual ~MongoServiceAdaptor() = default;

// Make an error msg when the cntl fails. If cntl fails, we must send mongo client a msg not
// only to indicate the error, but also to finish the round trip.
virtual void SerializeError(int response_to, butil::IOBuf* out_buf) const = 0;
Expand Down
1 change: 1 addition & 0 deletions src/brpc/span.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ void AnnotateSpan(const char* fmt, ...);

class SpanFilter {
public:
virtual ~SpanFilter() = default;
virtual bool Keep(const BriefSpan&) = 0;
};

Expand Down