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