[Cmake-commits] CMake branch, next, updated. v2.8.12.1-6383-g8adad32

Stephen Kelly steveire at gmail.com
Tue Dec 24 07:03:49 EST 2013


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  8adad3213dedbec0722888d7df9b0c8a6fdb9798 (commit)
       via  875ffdcd6f0a0f5b6851ad50a7ae2e793edf98f0 (commit)
      from  61c6617121a2e9432c6e2da5c8f392e7d25e4dda (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 -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8adad3213dedbec0722888d7df9b0c8a6fdb9798
commit 8adad3213dedbec0722888d7df9b0c8a6fdb9798
Merge: 61c6617 875ffdc
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Tue Dec 24 07:03:40 2013 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Dec 24 07:03:40 2013 -0500

    Merge topic 'export-EXPORT-subcommand' into next
    
    875ffdc Take reference, don't copy.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=875ffdcd6f0a0f5b6851ad50a7ae2e793edf98f0
commit 875ffdcd6f0a0f5b6851ad50a7ae2e793edf98f0
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Tue Dec 24 13:00:54 2013 +0100
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Tue Dec 24 13:01:19 2013 +0100

    Take reference, don't copy.
    
    The map owns and deletes the cmExportSet object otherwise.

diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index 3c8cf3b..b6bf870 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -141,7 +141,7 @@ bool cmExportCommand
       return false;
       }
 
-    cmExportSetMap setMap = gg->GetExportSets();
+    cmExportSetMap &setMap = gg->GetExportSets();
     std::string setName = this->ExportSetName.GetString();
     if (setMap.find(setName) == setMap.end())
       {

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

Summary of changes:
 Source/cmExportCommand.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list