mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 21:28:23 -05:00
clang-tidy: Use default member initialization
This commit is contained in:
@@ -34,20 +34,15 @@ private:
|
||||
struct CacheEntry
|
||||
{
|
||||
std::string Value;
|
||||
cmStateEnums::CacheEntryType Type;
|
||||
cmStateEnums::CacheEntryType Type = cmStateEnums::UNINITIALIZED;
|
||||
cmPropertyMap Properties;
|
||||
std::vector<std::string> GetPropertyList() const;
|
||||
const char* GetProperty(const std::string&) const;
|
||||
void SetProperty(const std::string& property, const char* value);
|
||||
void AppendProperty(const std::string& property, const char* value,
|
||||
bool asString = false);
|
||||
bool Initialized;
|
||||
CacheEntry()
|
||||
: Value("")
|
||||
, Type(cmStateEnums::UNINITIALIZED)
|
||||
, Initialized(false)
|
||||
{
|
||||
}
|
||||
bool Initialized = false;
|
||||
CacheEntry() {}
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user