1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

clang-tidy: Remove redundant member initializations

This commit is contained in:
Regina Pfeifer
2018-12-06 22:52:39 +01:00
parent 7ffa6bf999
commit 32cb564bea
26 changed files with 29 additions and 86 deletions

View File

@@ -50,8 +50,7 @@ struct cmStateDetail::PolicyStackEntry : public cmPolicies::PolicyMap
{
typedef cmPolicies::PolicyMap derived;
PolicyStackEntry(bool w = false)
: derived()
, Weak(w)
: Weak(w)
{
}
PolicyStackEntry(derived const& d, bool w)