[Cmake-commits] CMake branch, next, updated. v3.6.2-2456-gac947c5

Daniel Pfeifer daniel at pfeifer-mail.de
Sat Sep 24 17:25:33 EDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  ac947c5134adb8bf9a100843082b45c4a7ed7097 (commit)
       via  7d1b5207e474eb1828e7bdff4034acf7a3682115 (commit)
      from  9f79eb5caa5e25b987df8a9ff53b5fc4d84f5e74 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ac947c5134adb8bf9a100843082b45c4a7ed7097
commit ac947c5134adb8bf9a100843082b45c4a7ed7097
Merge: 9f79eb5 7d1b520
Author:     Daniel Pfeifer <daniel at pfeifer-mail.de>
AuthorDate: Sat Sep 24 17:25:32 2016 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sat Sep 24 17:25:32 2016 -0400

    Merge topic 'auto-ptr' into next
    
    7d1b5207 fixup! Add a feature check to test availability of auto_ptr


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7d1b5207e474eb1828e7bdff4034acf7a3682115
commit 7d1b5207e474eb1828e7bdff4034acf7a3682115
Author:     Daniel Pfeifer <daniel at pfeifer-mail.de>
AuthorDate: Sat Sep 24 23:25:12 2016 +0200
Commit:     Daniel Pfeifer <daniel at pfeifer-mail.de>
CommitDate: Sat Sep 24 23:25:12 2016 +0200

    fixup! Add a feature check to test availability of auto_ptr

diff --git a/Source/Checks/cm_cxx_auto_ptr.cxx b/Source/Checks/cm_cxx_auto_ptr.cxx
index fc49346..d3100fd 100644
--- a/Source/Checks/cm_cxx_auto_ptr.cxx
+++ b/Source/Checks/cm_cxx_auto_ptr.cxx
@@ -2,7 +2,9 @@
 
 std::auto_ptr<int> get_auto_ptr()
 {
-  return std::auto_ptr<int>(new int(0));
+  std::auto_ptr<int> ptr;
+  ptr = std::auto_ptr<int>(new int(0));
+  return ptr;
 }
 
 int use_auto_ptr(std::auto_ptr<int> ptr)

-----------------------------------------------------------------------

Summary of changes:
 Source/Checks/cm_cxx_auto_ptr.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list