mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
clang-tidy: fix modernize-use-default-member-init lints
This commit is contained in:
@@ -105,15 +105,13 @@ public:
|
||||
class cmGlobalXCodeGenerator::BuildObjectListOrString
|
||||
{
|
||||
cmGlobalXCodeGenerator* Generator;
|
||||
cmXCodeObject* Group;
|
||||
bool Empty;
|
||||
cmXCodeObject* Group = nullptr;
|
||||
bool Empty = true;
|
||||
std::string String;
|
||||
|
||||
public:
|
||||
BuildObjectListOrString(cmGlobalXCodeGenerator* gen, bool buildObjectList)
|
||||
: Generator(gen)
|
||||
, Group(nullptr)
|
||||
, Empty(true)
|
||||
{
|
||||
if (buildObjectList) {
|
||||
this->Group = this->Generator->CreateObject(cmXCodeObject::OBJECT_LIST);
|
||||
|
||||
Reference in New Issue
Block a user