Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ECDBD19301 for ; Thu, 21 Apr 2016 04:43:33 +0000 (UTC) Received: (qmail 37718 invoked by uid 500); 21 Apr 2016 04:43:33 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 37680 invoked by uid 500); 21 Apr 2016 04:43:33 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 37671 invoked by uid 99); 21 Apr 2016 04:43:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2016 04:43:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3F433DFBAF; Thu, 21 Apr 2016 04:43:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: astitcher@apache.org To: commits@qpid.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: qpid-proton git commit: PROTON-1179: Fix error_condition close tests to compile with older Linux headers Date: Thu, 21 Apr 2016 04:43:33 +0000 (UTC) Repository: qpid-proton Updated Branches: refs/heads/master 13364ad50 -> 4971ac573 PROTON-1179: Fix error_condition close tests to compile with older Linux headers Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/4971ac57 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/4971ac57 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/4971ac57 Branch: refs/heads/master Commit: 4971ac573f8532b57b342fcc47972d07d0f29ca7 Parents: 13364ad Author: Andrew Stitcher Authored: Thu Apr 21 00:41:48 2016 -0400 Committer: Andrew Stitcher Committed: Thu Apr 21 00:41:48 2016 -0400 ---------------------------------------------------------------------- proton-c/bindings/cpp/src/engine_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/4971ac57/proton-c/bindings/cpp/src/engine_test.cpp ---------------------------------------------------------------------- diff --git a/proton-c/bindings/cpp/src/engine_test.cpp b/proton-c/bindings/cpp/src/engine_test.cpp index 319f25e..3bb154f 100644 --- a/proton-c/bindings/cpp/src/engine_test.cpp +++ b/proton-c/bindings/cpp/src/engine_test.cpp @@ -192,8 +192,8 @@ void test_endpoint_close() { e.a.connection().open_sender("x"); e.a.connection().open_receiver("y"); while (ha.links.size() < 2 || hb.links.size() < 2) e.process(); - link ax = quick_pop(ha.links), ay = quick_pop(ha.links); - link bx = quick_pop(hb.links), by = quick_pop(hb.links); + proton::link ax = quick_pop(ha.links), ay = quick_pop(ha.links); + proton::link bx = quick_pop(hb.links), by = quick_pop(hb.links); // Close a link ax.close(proton::error_condition("err", "foo bar")); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org