Repository: qpid-proton
Updated Branches:
  refs/heads/master 71ef37bfc -> ea315ff04


PROTON-1703: [cpp] deprecated macro for receiver::auto_settle

Was deprecated in comment only, added deprecation warning macro.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/ea315ff0
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/ea315ff0
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/ea315ff0

Branch: refs/heads/master
Commit: ea315ff04bd91418aa9755e91370a97cca6bb61f
Parents: 71ef37b
Author: Alan Conway <acon...@redhat.com>
Authored: Thu Jul 5 12:08:29 2018 -0400
Committer: Alan Conway <acon...@redhat.com>
Committed: Thu Jul 5 12:08:29 2018 -0400

----------------------------------------------------------------------
 cpp/include/proton/receiver_options.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/ea315ff0/cpp/include/proton/receiver_options.hpp
----------------------------------------------------------------------
diff --git a/cpp/include/proton/receiver_options.hpp 
b/cpp/include/proton/receiver_options.hpp
index 2213f88..acf62da 100644
--- a/cpp/include/proton/receiver_options.hpp
+++ b/cpp/include/proton/receiver_options.hpp
@@ -84,7 +84,7 @@ class receiver_options {
     PN_CPP_EXTERN receiver_options& auto_accept(bool);
 
     /// @deprecated not applicable to receiver, only to sender
-    PN_CPP_EXTERN receiver_options& auto_settle(bool);
+    PN_CPP_EXTERN PN_CPP_DEPRECATED("not applicable to receiver, only sender") 
receiver_options& auto_settle(bool);
 
     /// Options for the source node of the receiver.
     PN_CPP_EXTERN receiver_options& source(source_options&);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to