NO-JIRA: [C++ binding] Add some override specifiers
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/a4e07264 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/a4e07264 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/a4e07264 Branch: refs/heads/master Commit: a4e072641d43669622061fbe24d5d31c66b829b6 Parents: 18c04d6 Author: Andrew Stitcher <[email protected]> Authored: Wed Mar 23 19:00:27 2016 -0400 Committer: Andrew Stitcher <[email protected]> Committed: Wed Mar 23 19:01:16 2016 -0400 ---------------------------------------------------------------------- proton-c/bindings/cpp/src/engine_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/a4e07264/proton-c/bindings/cpp/src/engine_test.cpp ---------------------------------------------------------------------- diff --git a/proton-c/bindings/cpp/src/engine_test.cpp b/proton-c/bindings/cpp/src/engine_test.cpp index afae6c2..83ee352 100644 --- a/proton-c/bindings/cpp/src/engine_test.cpp +++ b/proton-c/bindings/cpp/src/engine_test.cpp @@ -104,11 +104,11 @@ struct record_handler : public handler { links.push_back(e.link()); } - void on_session_open(event& e) { + void on_session_open(event& e) override { sessions.push_back(e.session()); } - void on_unhandled_error(event& e, const condition& c) { + void on_unhandled_error(event& e, const condition& c) override { errors.push_back(e.name() + "/" + c.what()); } }; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
