diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-23 21:43:37 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-21 18:57:26 (GMT) |
commit | 782657db48e0d5f0d33a19ad51678d36ddfa7ad5 (patch) | |
tree | f50ec60318de38794369f9c1658c0cbecd07e58d /Source/cmListFileCache.h | |
parent | a863c59f70a7556c010990a362e4d13792670148 (diff) | |
download | CMake-782657db48e0d5f0d33a19ad51678d36ddfa7ad5.zip CMake-782657db48e0d5f0d33a19ad51678d36ddfa7ad5.tar.gz CMake-782657db48e0d5f0d33a19ad51678d36ddfa7ad5.tar.bz2 |
cmListFileArgument: Remove FilePath member.
It is now unused.
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r-- | Source/cmListFileCache.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h index 4002d94..f5859ec 100644 --- a/Source/cmListFileCache.h +++ b/Source/cmListFileCache.h @@ -33,12 +33,11 @@ struct cmListFileArgument Quoted, Bracket }; - cmListFileArgument(): Value(), Delim(Unquoted), FilePath(0), Line(0) {} - cmListFileArgument(const cmListFileArgument& r): - Value(r.Value), Delim(r.Delim), FilePath(r.FilePath), Line(r.Line) {} - cmListFileArgument(const std::string& v, Delimiter d, const char* file, - long line): Value(v), Delim(d), - FilePath(file), Line(line) {} + cmListFileArgument(): Value(), Delim(Unquoted), Line(0) {} + cmListFileArgument(const cmListFileArgument& r) + : Value(r.Value), Delim(r.Delim), Line(r.Line) {} + cmListFileArgument(const std::string& v, Delimiter d, long line) + : Value(v), Delim(d), Line(line) {} bool operator == (const cmListFileArgument& r) const { return (this->Value == r.Value) && (this->Delim == r.Delim); @@ -49,7 +48,6 @@ struct cmListFileArgument } std::string Value; Delimiter Delim; - const char* FilePath; long Line; }; |