summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFileLocation.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-01-21 16:07:59 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-22 14:16:40 (GMT)
commitb629240236c1212e550d2040f228344d0327e665 (patch)
treebcbbbc3ded2584b27a721ec8d36789d317a353fd /Source/cmSourceFileLocation.h
parentb33ea5783a6bc1f2adafcdbd2d2907b209a633d9 (diff)
downloadCMake-b629240236c1212e550d2040f228344d0327e665.zip
CMake-b629240236c1212e550d2040f228344d0327e665.tar.gz
CMake-b629240236c1212e550d2040f228344d0327e665.tar.bz2
cmSourceFileLocation: Use a const cmMakefile.
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;