From aab269cc53c8d881882d64d6bfced7f85ece6bf6 Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Thu, 21 Oct 2021 07:47:34 +0100 Subject: [PATCH] Make MB_Needed_for_Boot_Record() a static member function Because it doesn't access any member variables or call any member methods. --- include/Dialog_Base_Partition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Dialog_Base_Partition.h b/include/Dialog_Base_Partition.h index c6ee005b..0fd68340 100644 --- a/include/Dialog_Base_Partition.h +++ b/include/Dialog_Base_Partition.h @@ -86,7 +86,7 @@ protected: //used to reserve space for Master or Extended Boot Record (1 MiB) int MIN_SPACE_BEFORE_MB ; - int MB_Needed_for_Boot_Record( const Partition & partition ) ; + static int MB_Needed_for_Boot_Record(const Partition& partition); //signal handlers void on_signal_move( int, int );