You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2016/12/23 15:52:16 UTC

qpid-proton git commit: PROTON-1379: [C++ binding] Add #if'd #include [closes #92]

Repository: qpid-proton
Updated Branches:
  refs/heads/master 673c75e71 -> cd6ecc5fd


PROTON-1379: [C++ binding] Add #if'd #include <functional>
[closes #92]


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

Branch: refs/heads/master
Commit: cd6ecc5fd9cc29cd2fa594c59166dd9d432fd4b9
Parents: 673c75e
Author: Jiri Danek <jd...@redhat.com>
Authored: Fri Dec 23 15:18:28 2016 +0100
Committer: Andrew Stitcher <as...@apache.org>
Committed: Fri Dec 23 10:48:31 2016 -0500

----------------------------------------------------------------------
 proton-c/bindings/cpp/include/proton/container.hpp | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/cd6ecc5f/proton-c/bindings/cpp/include/proton/container.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/container.hpp b/proton-c/bindings/cpp/include/proton/container.hpp
index 0c40f3d..6f10c3c 100644
--- a/proton-c/bindings/cpp/include/proton/container.hpp
+++ b/proton-c/bindings/cpp/include/proton/container.hpp
@@ -29,6 +29,9 @@
 #include "./internal/export.hpp"
 #include "./internal/pn_unique_ptr.hpp"
 
+#ifdef PN_CPP_HAS_STD_FUNCTION
+#include <functional>
+#endif
 #include <string>
 
 namespace proton {


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