astitcher commented on code in PR #370:
URL: https://github.com/apache/qpid-proton/pull/370#discussion_r877036941
##########
cpp/src/connection.cpp:
##########
@@ -93,6 +93,12 @@ session_range connection::sessions() const {
return
session_range(session_iterator(make_wrapper(pn_session_head(pn_object(), 0))));
}
+std::string connection::url() const {
+ connection_context& cc = connection_context::get(pn_object());
+ if(!active()) throw proton::error("No active connection");
Review Comment:
type: No space after 'if'
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]