diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-01-22 23:32:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-25 11:45:00 (GMT) |
commit | 094f01d0f019147afbdfc1c18ad1a6ca232eb3b8 (patch) | |
tree | c21fa56b9092c742d7dc371d523b5a80b2330f03 /Source/cmListFileCache.h | |
parent | 55671b41d2d182ce8d3201012ec55badd7116615 (diff) | |
download | CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.zip CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.tar.gz CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.tar.bz2 |
cleanup: Prefer compiler provided special member functions
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r-- | Source/cmListFileCache.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h index e7b1c87..9457415 100644 --- a/Source/cmListFileCache.h +++ b/Source/cmListFileCache.h @@ -73,7 +73,6 @@ public: std::string Name; std::string FilePath; long Line = 0; - cmListFileContext() = default; static cmListFileContext FromCommandContext(cmCommandContext const& lfcc, std::string const& fileName) @@ -110,15 +109,6 @@ public: // indicated by the given valid snapshot. cmListFileBacktrace(cmStateSnapshot const& snapshot); - // Backtraces may be copied, moved, and assigned as values. - cmListFileBacktrace(cmListFileBacktrace const&) = default; - cmListFileBacktrace(cmListFileBacktrace&&) // NOLINT(clang-tidy) - noexcept = default; - cmListFileBacktrace& operator=(cmListFileBacktrace const&) = default; - cmListFileBacktrace& operator=(cmListFileBacktrace&&) // NOLINT(clang-tidy) - noexcept = default; - ~cmListFileBacktrace() = default; - cmStateSnapshot GetBottom() const; // Get a backtrace with the given file scope added to the top. |