diff options
author | Brad King <brad.king@kitware.com> | 2019-01-29 19:07:13 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-29 19:07:24 (GMT) |
commit | d75fec5a88f81a8c16cdeab46766e92a14d1d3cf (patch) | |
tree | d5634e89fac70258241b4bfcfadd7285e7cb31bb /Source/cmLocalUnixMakefileGenerator3.h | |
parent | 9620cb935a49e7b4955f5b1d0ffa2e93b4327591 (diff) | |
parent | 094f01d0f019147afbdfc1c18ad1a6ca232eb3b8 (diff) | |
download | CMake-d75fec5a88f81a8c16cdeab46766e92a14d1d3cf.zip CMake-d75fec5a88f81a8c16cdeab46766e92a14d1d3cf.tar.gz CMake-d75fec5a88f81a8c16cdeab46766e92a14d1d3cf.tar.bz2 |
Merge topic 'tidy-use-equals-default'
094f01d0f0 cleanup: Prefer compiler provided special member functions
55671b41d2 clang-tidy: Use `= default`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Merge-request: !2841
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h index d83c9bb..ced2dbd 100644 --- a/Source/cmLocalUnixMakefileGenerator3.h +++ b/Source/cmLocalUnixMakefileGenerator3.h @@ -252,7 +252,7 @@ private: { cmGeneratorTarget* Target = nullptr; std::string Language; - LocalObjectEntry() {} + LocalObjectEntry() = default; LocalObjectEntry(cmGeneratorTarget* t, std::string lang) : Target(t) , Language(std::move(lang)) @@ -264,7 +264,6 @@ private: bool HasSourceExtension = false; bool HasPreprocessRule = false; bool HasAssembleRule = false; - LocalObjectInfo() {} }; void GetLocalObjectFiles( std::map<std::string, LocalObjectInfo>& localObjectFiles); |