You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2014/11/16 02:39:18 UTC

[21/30] mesos git commit: Introduce std::make_shared configure check.

Introduce std::make_shared configure check.

Review: https://reviews.apache.org/r/27921


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9eda4331
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9eda4331
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/9eda4331

Branch: refs/heads/master
Commit: 9eda4331dd23c3646aba1ec710e0dd3190e579ab
Parents: b7f7c98
Author: Joris Van Remoortere <jo...@gmail.com>
Authored: Sat Nov 15 17:35:49 2014 -0800
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Sat Nov 15 17:38:21 2014 -0800

----------------------------------------------------------------------
 m4/ax_cxx_compile_stdcxx_11.m4 | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/9eda4331/m4/ax_cxx_compile_stdcxx_11.m4
----------------------------------------------------------------------
diff --git a/m4/ax_cxx_compile_stdcxx_11.m4 b/m4/ax_cxx_compile_stdcxx_11.m4
index 07e20bb..6a859b8 100644
--- a/m4/ax_cxx_compile_stdcxx_11.m4
+++ b/m4/ax_cxx_compile_stdcxx_11.m4
@@ -80,6 +80,8 @@ m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [
     p1->bar();
   }
 
+  std::shared_ptr<int> k = std::make_shared<int>(2);
+
   void mutexTest()
   {
     std::mutex _mutex;