summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFileLocation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-27 18:03:39 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-01-27 18:03:39 (GMT)
commitddb792daab4816b0fc01f672737835a072d7c5ee (patch)
treedbc2ce070e57e3b94dbc3ebd9a3c8f59d13217d5 /Source/cmSourceFileLocation.h
parent5781842bc22dbda40430661599d25e289fc09ea0 (diff)
parentbde0dab15d6bdefeadd329a67dbe53812d9f3254 (diff)
downloadCMake-ddb792daab4816b0fc01f672737835a072d7c5ee.zip
CMake-ddb792daab4816b0fc01f672737835a072d7c5ee.tar.gz
CMake-ddb792daab4816b0fc01f672737835a072d7c5ee.tar.bz2
Merge topic 'constify'
bde0dab1 cmMakefile: Make ConfigureString const. bf1e1bf1 cmMakefile: Make FindSourceGroup const. 01d7ceda cmMakefile: Trivially constify some methods. 9073318f cmMakefile: Remove non-const version of method 9b05bc4f cmMakefile: Remove method declarations with no implementation. c6c0bd9d cmMakefile: Consify custom command API. d6d4eaac cmMakefile: Constify policies accessors. 2a6e56e0 cmCacheManager: Consify version accessors. 5cc9fb02 cmSourceGroup: Fix method name capitalization. fe8b0330 cmMakefile: Constify some cmSourceGroup related code. e68a3ead cmSourceFile: Use a const cmMakefile. b6292402 cmSourceFileLocation: Use a const cmMakefile. b33ea578 cmMakefile: Make GetProperty const.
Diffstat (limited to 'Source/cmSourceFileLocation.h')
-rw-r--r--Source/cmSourceFileLocation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmSourceFileLocation.h b/Source/cmSourceFileLocation.h
index 216dd07..c03eee7 100644
--- a/Source/cmSourceFileLocation.h
+++ b/Source/cmSourceFileLocation.h
@@ -33,7 +33,7 @@ public:
* Construct for a source file created in a given cmMakefile
* instance with an initial name.
*/
- cmSourceFileLocation(cmMakefile* mf, const char* name);
+ cmSourceFileLocation(cmMakefile const* mf, const char* name);
/**
* Return whether the givne source file location could refers to the
@@ -81,9 +81,9 @@ public:
/**
* Get the cmMakefile instance for which the source file was created.
*/
- cmMakefile* GetMakefile() const { return this->Makefile; }
+ cmMakefile const* GetMakefile() const { return this->Makefile; }
private:
- cmMakefile* Makefile;
+ cmMakefile const* Makefile;
bool AmbiguousDirectory;
bool AmbiguousExtension;
std::string Directory;