mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 18:35:37 -04:00
[partition] Initialize in the initializer list, if possible
This commit is contained in:
parent
51b47862cd
commit
44a11bd93b
1 changed files with 2 additions and 2 deletions
|
@ -44,13 +44,13 @@ getDefaultFileSystemType()
|
|||
}
|
||||
|
||||
PartitionLayout::PartitionLayout()
|
||||
: m_defaultFsType( getDefaultFileSystemType() )
|
||||
{
|
||||
m_defaultFsType = getDefaultFileSystemType();
|
||||
}
|
||||
|
||||
PartitionLayout::PartitionLayout( PartitionLayout::PartitionEntry entry )
|
||||
: PartitionLayout()
|
||||
{
|
||||
m_defaultFsType = getDefaultFileSystemType();
|
||||
m_partLayout.append( entry );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue