diff options
author | Brad King <brad.king@kitware.com> | 2017-09-22 14:17:00 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-22 14:17:49 (GMT) |
commit | 4609aaf513ffd6f253ec7c8a8bca6bb93d7eede5 (patch) | |
tree | a4fac206b20ac4a8b8888ca7898fac78fcf2b680 /Source/cmSourceFileLocation.cxx | |
parent | 7df7eea7cf9c0bcaa7c690a6f56995704c78a7b6 (diff) | |
parent | 3b95ab569345028a1a8fe521d5ecd81fa97f2653 (diff) | |
download | CMake-4609aaf513ffd6f253ec7c8a8bca6bb93d7eede5.zip CMake-4609aaf513ffd6f253ec7c8a8bca6bb93d7eede5.tar.gz CMake-4609aaf513ffd6f253ec7c8a8bca6bb93d7eede5.tar.bz2 |
Merge topic 'perf-source-lookup'
3b95ab56 Performance: Improve efficiency of source file lookup in cmMakefile
e0188803 cmMakefile: Drop unused method
fe1e811b cmSourceFileLocation: Drop unnecessary copy-assignment operator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1154
Diffstat (limited to 'Source/cmSourceFileLocation.cxx')
-rw-r--r-- | Source/cmSourceFileLocation.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/cmSourceFileLocation.cxx b/Source/cmSourceFileLocation.cxx index 727adeb..4f337f2 100644 --- a/Source/cmSourceFileLocation.cxx +++ b/Source/cmSourceFileLocation.cxx @@ -28,21 +28,6 @@ cmSourceFileLocation::cmSourceFileLocation(const cmSourceFileLocation& loc) this->Name = loc.Name; } -cmSourceFileLocation& cmSourceFileLocation::operator=( - const cmSourceFileLocation& loc) -{ - if (this == &loc) { - return *this; - } - this->Makefile = loc.Makefile; - this->AmbiguousDirectory = loc.AmbiguousDirectory; - this->AmbiguousExtension = loc.AmbiguousExtension; - this->Directory = loc.Directory; - this->Name = loc.Name; - this->UpdateExtension(this->Name); - return *this; -} - cmSourceFileLocation::cmSourceFileLocation(cmMakefile const* mf, const std::string& name) : Makefile(mf) |