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 <[email protected]> Authored: Sat Nov 15 17:35:49 2014 -0800 Committer: Benjamin Hindman <[email protected]> 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;
