Make MB_Needed_for_Boot_Record() a static member function

Because it doesn't access any member variables or call any member
methods.
This commit is contained in:
Mike Fleetwood 2021-10-21 07:47:34 +01:00 committed by Curtis Gedak
parent 67b07f86e6
commit aab269cc53
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ protected:
//used to reserve space for Master or Extended Boot Record (1 MiB) //used to reserve space for Master or Extended Boot Record (1 MiB)
int MIN_SPACE_BEFORE_MB ; 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 //signal handlers
void on_signal_move( int, int ); void on_signal_move( int, int );