mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
cleanup: Prefer compiler provided special member functions
This commit is contained in:
committed by
Brad King
parent
55671b41d2
commit
094f01d0f0
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user