qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject qpid-proton git commit: PROTON-1703: [cpp] deprecated macro for receiver::auto_settle
Date Thu, 05 Jul 2018 16:09:49 GMT
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 <aconway@redhat.com>
Authored: Thu Jul 5 12:08:29 2018 -0400
Committer: Alan Conway <aconway@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-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message