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/cmMakefile.h | |
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/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 3d4a08a..dac3dfb 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -706,8 +706,8 @@ public: /** * find what source group this source is in */ - cmSourceGroup& FindSourceGroup(const char* source, - std::vector<cmSourceGroup> &groups); + cmSourceGroup* FindSourceGroup(const char* source, + std::vector<cmSourceGroup> &groups) const; #endif /** |