diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-12 22:50:42 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-03-13 14:27:23 (GMT) |
commit | c725bb3cbd51edd4043f81d01b7a01bbd42adb2f (patch) | |
tree | b4bfc2adbb46ea55af5bae98273d20b8cc0ec171 /Source/cmGlobalVisualStudio10Generator.h | |
parent | dcfcd23ed53d3bfe8ef299b8a3a38c47c27fa6b6 (diff) | |
download | CMake-c725bb3cbd51edd4043f81d01b7a01bbd42adb2f.zip CMake-c725bb3cbd51edd4043f81d01b7a01bbd42adb2f.tar.gz CMake-c725bb3cbd51edd4043f81d01b7a01bbd42adb2f.tar.bz2 |
Constify some APIs in generators.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h index 999a9d5..ede6b1b 100644 --- a/Source/cmGlobalVisualStudio10Generator.h +++ b/Source/cmGlobalVisualStudio10Generator.h @@ -87,7 +87,7 @@ public: /** Generate an <output>.rule file path for a given command output. */ virtual std::string GenerateRuleFile(std::string const& output) const; - void PathTooLong(cmTarget* target, cmSourceFile* sf, + void PathTooLong(cmTarget* target, cmSourceFile const* sf, std::string const& sfRel); virtual const char* GetToolsVersion() { return "4.0"; } @@ -112,7 +112,7 @@ private: LongestSourcePath(): Length(0), Target(0), SourceFile(0) {} size_t Length; cmTarget* Target; - cmSourceFile* SourceFile; + cmSourceFile const* SourceFile; std::string SourceRel; }; LongestSourcePath LongestSource; |