[partition] Hide implementation function

This commit is contained in:
Adriaan de Groot 2022-03-22 14:41:48 +01:00
parent f888cb87d1
commit 982f9c8458

View File

@ -30,10 +30,7 @@
using namespace CalamaresUtils::Units;
namespace PartitionActions
{
qint64
static qint64
swapSuggestion( const qint64 availableSpaceB, Config::SwapChoice swap )
{
if ( ( swap != Config::SwapChoice::SmallSwap ) && ( swap != Config::SwapChoice::FullSwap ) )
@ -84,6 +81,9 @@ swapSuggestion( const qint64 availableSpaceB, Config::SwapChoice swap )
return suggestedSwapSizeB;
}
namespace PartitionActions
{
void
doAutopartition( PartitionCoreModule* core, Device* dev, Choices::AutoPartitionOptions o )
{