You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ns...@apache.org on 2016/01/18 19:40:47 UTC
[2/8] thrift git commit: THRIFT-3565: C++: declared
T{Async}Processor::getEventHandler() as const member functions Client: C++
Patch: Sebastian Zenker
THRIFT-3565: C++: declared T{Async}Processor::getEventHandler() as const member functions
Client: C++
Patch: Sebastian Zenker
This closes #803
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/9c4193d4
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/9c4193d4
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/9c4193d4
Branch: refs/heads/master
Commit: 9c4193d4fc0ed66f989c2e5987f09abfe2340c73
Parents: 643f1ee
Author: Sebastian Zenker <se...@gmx.de>
Authored: Mon Jan 18 08:51:30 2016 +0100
Committer: Nobuaki Sukegawa <ns...@apache.org>
Committed: Tue Jan 19 02:48:07 2016 +0900
----------------------------------------------------------------------
lib/cpp/src/thrift/TProcessor.h | 2 +-
lib/cpp/src/thrift/async/TAsyncProcessor.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/9c4193d4/lib/cpp/src/thrift/TProcessor.h
----------------------------------------------------------------------
diff --git a/lib/cpp/src/thrift/TProcessor.h b/lib/cpp/src/thrift/TProcessor.h
index d8f86c4..4a0604e 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;
http://git-wip-us.apache.org/repos/asf/thrift/blob/9c4193d4/lib/cpp/src/thrift/async/TAsyncProcessor.h
----------------------------------------------------------------------
diff --git a/lib/cpp/src/thrift/async/TAsyncProcessor.h b/lib/cpp/src/thrift/async/TAsyncProcessor.h
index ee305a2..01a34c4 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;