jiridanek commented on a change in pull request #309:
URL: https://github.com/apache/qpid-proton/pull/309#discussion_r611226640



##########
File path: cpp/src/delivery.cpp
##########
@@ -40,6 +42,7 @@ namespace proton {
 
 delivery::delivery(pn_delivery_t* d): transfer(make_wrapper(d)) {}
 receiver delivery::receiver() const { return make_wrapper<class 
receiver>(pn_delivery_link(pn_object())); }
+tag delivery::tag() const { return make_wrapper<class 
tag>(pn_delivery_tag(pn_object())); }

Review comment:
       This does not compile for me too. The reason seems to be that 
`make_wrapper` expects to get a pointer type, but `pn_delivery_tag` returns the 
struct directly as a value, not a pointer to it. If I exactly knew right now 
what you should do here, I'd tell you...




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to