[gparted] Make MB_Needed_for_Boot_Record() a static member function



commit aab269cc53c8d881882d64d6bfced7f85ece6bf6
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Thu Oct 21 07:47:34 2021 +0100

    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 );


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]