qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [39/50] [abbrv] qpid-proton git commit: NO-JIRA: c++: fix compile error on older c++ compilers (noticed on gcc 4.7)
Date Fri, 23 Oct 2015 14:36:41 GMT
NO-JIRA: c++: fix compile error on older c++ compilers (noticed on gcc 4.7)


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

Branch: refs/heads/go1
Commit: a16c58a59c2a5504ecd556dd397b7d28cc68dbd4
Parents: 6192c55
Author: Alan Conway <aconway@redhat.com>
Authored: Wed Oct 21 10:03:02 2015 -0400
Committer: Alan Conway <aconway@redhat.com>
Committed: Wed Oct 21 10:03:02 2015 -0400

----------------------------------------------------------------------
 proton-c/bindings/cpp/include/proton/endpoint.hpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/a16c58a5/proton-c/bindings/cpp/include/proton/endpoint.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/endpoint.hpp b/proton-c/bindings/cpp/include/proton/endpoint.hpp
index e31fce6..5ed2646 100644
--- a/proton-c/bindings/cpp/include/proton/endpoint.hpp
+++ b/proton-c/bindings/cpp/include/proton/endpoint.hpp
@@ -98,7 +98,8 @@ template<class I> class range {
 ///@ An iterator for a range of sessions.
 class session_iterator : public iter_base<session, session_iterator> {
  public:
-    explicit session_iterator(session* p = 0, endpoint::state s = 0) : iter_base(p, s) {}
+    explicit session_iterator(session* p = 0, endpoint::state s = 0) :
+        iter_base<session, session_iterator>(p, s) {}
   private:
     PN_CPP_EXTERN void advance();
   friend class iter_base<session, session_iterator>;


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


Mime
View raw message