Repository: qpid-proton
Updated Branches:
  refs/heads/master 64abf0616 -> 6d3aa7842


PROTON-1313: c++: missing #include <string> in some headers

Several header files that use std::string were missing #include <string>:

binary.hpp
symbol.hpp
url.hpp


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

Branch: refs/heads/master
Commit: 6d3aa78420febe314b9bf43a06a966fe13742380
Parents: 64abf06
Author: Alan Conway <[email protected]>
Authored: Thu Oct 6 11:26:16 2016 -0400
Committer: Alan Conway <[email protected]>
Committed: Thu Oct 6 11:26:16 2016 -0400

----------------------------------------------------------------------
 proton-c/bindings/cpp/include/proton/binary.hpp | 1 +
 proton-c/bindings/cpp/include/proton/symbol.hpp | 2 ++
 proton-c/bindings/cpp/include/proton/url.hpp    | 1 +
 3 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/6d3aa784/proton-c/bindings/cpp/include/proton/binary.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/binary.hpp 
b/proton-c/bindings/cpp/include/proton/binary.hpp
index b7b7ac1..d2f5b97 100644
--- a/proton-c/bindings/cpp/include/proton/binary.hpp
+++ b/proton-c/bindings/cpp/include/proton/binary.hpp
@@ -26,6 +26,7 @@
 #include "./types_fwd.hpp"
 
 #include <iosfwd>
+#include <string>
 #include <vector>
 
 namespace proton {

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/6d3aa784/proton-c/bindings/cpp/include/proton/symbol.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/symbol.hpp 
b/proton-c/bindings/cpp/include/proton/symbol.hpp
index 026154f..303f350 100644
--- a/proton-c/bindings/cpp/include/proton/symbol.hpp
+++ b/proton-c/bindings/cpp/include/proton/symbol.hpp
@@ -22,6 +22,8 @@
  *
  */
 
+#include <string>
+
 namespace proton {
 
 /// A std::string that represents the AMQP symbol type.

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/6d3aa784/proton-c/bindings/cpp/include/proton/url.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/url.hpp 
b/proton-c/bindings/cpp/include/proton/url.hpp
index 1ff0bba..57ef586 100644
--- a/proton-c/bindings/cpp/include/proton/url.hpp
+++ b/proton-c/bindings/cpp/include/proton/url.hpp
@@ -26,6 +26,7 @@
 #include "./error.hpp"
 
 #include <iosfwd>
+#include <string>
 
 struct pn_url_t;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to