Repository: qpid-proton Updated Branches: refs/heads/master 74eed448a -> bfb5d19d4
PROTON-1182: [C++ binding] Fix dummy receiver_option::selector Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/5c24f894 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/5c24f894 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/5c24f894 Branch: refs/heads/master Commit: 5c24f894ecb7e1834a0402f2a7dfe8fb33f61d23 Parents: 74eed44 Author: Andrew Stitcher <[email protected]> Authored: Tue Apr 26 18:15:03 2016 -0400 Committer: Andrew Stitcher <[email protected]> Committed: Tue Apr 26 18:15:03 2016 -0400 ---------------------------------------------------------------------- proton-c/bindings/cpp/include/proton/receiver_options.hpp | 2 +- proton-c/bindings/cpp/src/receiver_options.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/5c24f894/proton-c/bindings/cpp/include/proton/receiver_options.hpp ---------------------------------------------------------------------- diff --git a/proton-c/bindings/cpp/include/proton/receiver_options.hpp b/proton-c/bindings/cpp/include/proton/receiver_options.hpp index 592e4ab..b0bf02a 100644 --- a/proton-c/bindings/cpp/include/proton/receiver_options.hpp +++ b/proton-c/bindings/cpp/include/proton/receiver_options.hpp @@ -94,7 +94,7 @@ class receiver_options { /// Set a selector on the receiver to str. This sets a single /// registered filter on the link of type /// apache.org:selector-filter with value str. - PN_CPP_EXTERN receiver_options& selector(const std::string&){return *this;}; + PN_CPP_EXTERN receiver_options& selector(const std::string&); /// @endcond /// Automatically accept inbound messages that aren't otherwise http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/5c24f894/proton-c/bindings/cpp/src/receiver_options.cpp ---------------------------------------------------------------------- diff --git a/proton-c/bindings/cpp/src/receiver_options.cpp b/proton-c/bindings/cpp/src/receiver_options.cpp index 5abb5f6..3e737fd 100644 --- a/proton-c/bindings/cpp/src/receiver_options.cpp +++ b/proton-c/bindings/cpp/src/receiver_options.cpp @@ -127,6 +127,7 @@ receiver_options& receiver_options::auto_settle(bool b) {impl_->auto_settle = b; receiver_options& receiver_options::credit_window(int w) {impl_->credit_window = w; return *this; } receiver_options& receiver_options::source(source_options &s) {impl_->source = s; return *this; } receiver_options& receiver_options::target(target_options &s) {impl_->target = s; return *this; } +receiver_options& receiver_options::selector(const std::string&) { return *this; } void receiver_options::apply(receiver& r) const { impl_->apply(r); } proton_handler* receiver_options::handler() const { return impl_->handler.value; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
