You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2018/04/10 21:17:22 UTC
[28/55] [abbrv] qpid-proton git commit: NO-JIRA: [C++ binding] Fix
gcc 8 picky warning
NO-JIRA: [C++ binding] Fix gcc 8 picky warning
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/12283da9
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/12283da9
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/12283da9
Branch: refs/heads/go1
Commit: 12283da95bb6f60c52a675988d0b3726917de620
Parents: f66a970
Author: Andrew Stitcher <as...@apache.org>
Authored: Thu Mar 22 02:18:55 2018 -0400
Committer: Andrew Stitcher <as...@apache.org>
Committed: Thu Mar 22 02:18:55 2018 -0400
----------------------------------------------------------------------
proton-c/bindings/cpp/src/connection_driver_test.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/12283da9/proton-c/bindings/cpp/src/connection_driver_test.cpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/src/connection_driver_test.cpp b/proton-c/bindings/cpp/src/connection_driver_test.cpp
index b176e3e..9c385ee 100644
--- a/proton-c/bindings/cpp/src/connection_driver_test.cpp
+++ b/proton-c/bindings/cpp/src/connection_driver_test.cpp
@@ -317,7 +317,7 @@ void test_no_container() {
try {
d.connection().container();
FAIL("expected error");
- } catch (proton::error) {}
+ } catch (const proton::error&) {}
}
void test_spin_interrupt() {
@@ -328,7 +328,7 @@ void test_spin_interrupt() {
while (true)
d.process();
FAIL("expected exception");
- } catch (test::error) {}
+ } catch (const test::error&) {}
}
void test_link_options() {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org