diff options
Diffstat (limited to 'lib/cpp')
-rw-r--r-- | lib/cpp/src/thrift/TProcessor.h | 2 | ||||
-rw-r--r-- | lib/cpp/src/thrift/async/TAsyncProcessor.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/cpp/src/thrift/TProcessor.h b/lib/cpp/src/thrift/TProcessor.h index d8f86c42e..4a0604eac 100644 --- a/lib/cpp/src/thrift/TProcessor.h +++ b/lib/cpp/src/thrift/TProcessor.h @@ -150,7 +150,7 @@ public: return process(io, io, connectionContext); } - boost::shared_ptr<TProcessorEventHandler> getEventHandler() { return eventHandler_; } + boost::shared_ptr<TProcessorEventHandler> getEventHandler() const { return eventHandler_; } void setEventHandler(boost::shared_ptr<TProcessorEventHandler> eventHandler) { eventHandler_ = eventHandler; diff --git a/lib/cpp/src/thrift/async/TAsyncProcessor.h b/lib/cpp/src/thrift/async/TAsyncProcessor.h index ee305a2ff..01a34c4f4 100644 --- a/lib/cpp/src/thrift/async/TAsyncProcessor.h +++ b/lib/cpp/src/thrift/async/TAsyncProcessor.h @@ -47,7 +47,7 @@ public: return process(_return, io, io); } - boost::shared_ptr<TProcessorEventHandler> getEventHandler() { return eventHandler_; } + boost::shared_ptr<TProcessorEventHandler> getEventHandler() const { return eventHandler_; } void setEventHandler(boost::shared_ptr<TProcessorEventHandler> eventHandler) { eventHandler_ = eventHandler; |