From b629240236c1212e550d2040f228344d0327e665 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 21 Jan 2014 17:07:59 +0100 Subject: cmSourceFileLocation: Use a const cmMakefile. --- Source/cmSourceFileLocation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/cmSourceFileLocation.h') diff --git a/Source/cmSourceFileLocation.h b/Source/cmSourceFileLocation.h index 216dd07b8a..c03eee7f21 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; -- cgit v1.2.1