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 2015/11/03 18:16:54 UTC

[3/3] qpid-proton git commit: NO-JIRA: c++ fix compiler warning.

NO-JIRA: c++ fix compiler 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/820f840c
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/820f840c
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/820f840c

Branch: refs/heads/master
Commit: 820f840cd1b7ecb742202f69e9e4ac3151e4c9d1
Parents: 2a1e1e7
Author: Alan Conway <ac...@redhat.com>
Authored: Tue Nov 3 10:44:57 2015 -0500
Committer: Alan Conway <ac...@redhat.com>
Committed: Tue Nov 3 10:44:57 2015 -0500

----------------------------------------------------------------------
 proton-c/bindings/cpp/src/decoder.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/820f840c/proton-c/bindings/cpp/src/decoder.cpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/src/decoder.cpp b/proton-c/bindings/cpp/src/decoder.cpp
index 1f11b4a..d148b12 100644
--- a/proton-c/bindings/cpp/src/decoder.cpp
+++ b/proton-c/bindings/cpp/src/decoder.cpp
@@ -168,7 +168,8 @@ decoder& operator>>(decoder& d, message_id& id) {
       case STRING:
         return d >> id.value_;
       default:
-        throw decode_error("expected one of ulong, uuid, binary or string but found "+d.type());
+        throw decode_error("expected one of ulong, uuid, binary or string but found " +
+                           type_name(d.type()));
     };
 }
 


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