diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-13 00:19:50 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-03-13 15:27:23 +0100 |
commit | dcfcd23ed53d3bfe8ef299b8a3a38c47c27fa6b6 (patch) | |
tree | 12125bc0a97c6e87081e01523d09c650ef023458 /Source/cmGeneratorTarget.h | |
parent | 04cf50ff62a022296832cef6b48fb532508eb853 (diff) | |
download | cmake-dcfcd23ed53d3bfe8ef299b8a3a38c47c27fa6b6.tar.gz |
cmGeneratorTarget: Make GetSourceDepends const.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index d1a0e0610b..1c4276cb15 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -87,7 +87,8 @@ public: void LookupObjectLibraries(); /** Get sources that must be built before the given source. */ - std::vector<cmSourceFile*> const* GetSourceDepends(cmSourceFile* sf) const; + std::vector<cmSourceFile*> const* + GetSourceDepends(cmSourceFile const* sf) const; /** * Flags for a given source file as used in this target. Typically assigned @@ -121,7 +122,7 @@ public: private: friend class cmTargetTraceDependencies; struct SourceEntry { std::vector<cmSourceFile*> Depends; }; - typedef std::map<cmSourceFile*, SourceEntry> SourceEntriesType; + typedef std::map<cmSourceFile const*, SourceEntry> SourceEntriesType; SourceEntriesType SourceEntries; std::map<cmSourceFile const*, std::string> Objects; |