PROTON-1369: [c++] remove deprecation attribute on void_function0 Was causing a deprecation warning on #include of work_queue because the the deprecated function `work_queue::add(void_function0)` refers to the deprecated class.
void_function0 is still deprecated in documentation and cannot be used except via the deprecated work_queue::add function so effectively it is still well deprecated. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/38019a68 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/38019a68 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/38019a68 Branch: refs/heads/go1 Commit: 38019a68af2a6cb98284a55fdfc6fe736614fb73 Parents: 5c4962b Author: Alan Conway <acon...@redhat.com> Authored: Fri Oct 13 18:06:32 2017 +0100 Committer: Alan Conway <acon...@redhat.com> Committed: Fri Oct 13 18:42:55 2017 +0100 ---------------------------------------------------------------------- proton-c/bindings/cpp/include/proton/function.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/38019a68/proton-c/bindings/cpp/include/proton/function.hpp ---------------------------------------------------------------------- diff --git a/proton-c/bindings/cpp/include/proton/function.hpp b/proton-c/bindings/cpp/include/proton/function.hpp index b6314d0..dd89760 100644 --- a/proton-c/bindings/cpp/include/proton/function.hpp +++ b/proton-c/bindings/cpp/include/proton/function.hpp @@ -39,7 +39,7 @@ namespace proton { /// subclasses do not have to be heap allocated. Once passed, the /// instance must not be deleted until its `operator()` is called or /// the container has stopped. -class PN_CPP_DEPRECATED("Use 'proton::work'") void_function0 { +class void_function0 { public: virtual ~void_function0() {} /// Override the call operator with your code. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org