diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-01-21 15:43:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-22 20:28:41 (GMT) |
commit | bf1e1bf1d0a8a966af0c8e454d0bc11b5ed874e1 (patch) | |
tree | b8e129e96d5445f48e1aac07bab6a532e735c688 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 01d7ceda5dda53125da2bce994114ca5154bf365 (diff) | |
download | CMake-bf1e1bf1d0a8a966af0c8e454d0bc11b5ed874e1.zip CMake-bf1e1bf1d0a8a966af0c8e454d0bc11b5ed874e1.tar.gz CMake-bf1e1bf1d0a8a966af0c8e454d0bc11b5ed874e1.tar.bz2 |
cmMakefile: Make FindSourceGroup const.
Return a pointer instead of a reference. This allows making the accessor
const with the least impact.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 57a4880..212b06b 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1392,9 +1392,9 @@ void cmLocalVisualStudio7Generator::WriteVCProjFile(std::ostream& fout, { this->ModuleDefinitionFile = (*i)->GetFullPath(); } - cmSourceGroup& sourceGroup = + cmSourceGroup* sourceGroup = this->Makefile->FindSourceGroup(source.c_str(), sourceGroups); - sourceGroup.AssignSource(*i); + sourceGroup->AssignSource(*i); } // open the project |