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 2016/11/02 02:53:33 UTC

[13/50] [abbrv] qpid-proton git commit: PROTON-1313: c++: missing #include in some headers

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/go1
Commit: 6d3aa78420febe314b9bf43a06a966fe13742380
Parents: 64abf06
Author: Alan Conway <ac...@redhat.com>
Authored: Thu Oct 6 11:26:16 2016 -0400
Committer: Alan Conway <ac...@redhat.com>
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: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org