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:
parent
67b07f86e6
commit
aab269cc53
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue