← Back to team overview

kicad-developers team mailing list archive

[PATCH] Remove lying "override" comments

 

---
 eeschema/class_netlist_object.h            | 2 +-
 gerbview/class_gbr_layout.h                | 4 ++--
 pagelayout_editor/class_pl_editor_layout.h | 4 ++--
 pcbnew/class_netclass.h                    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/eeschema/class_netlist_object.h b/eeschema/class_netlist_object.h
index 80667c123..81c3d93a7 100644
--- a/eeschema/class_netlist_object.h
+++ b/eeschema/class_netlist_object.h
@@ -131,7 +131,7 @@ private:
 public:
 
 #if defined(DEBUG)
-    void Show( std::ostream& out, int ndx ) const;      // override
+    void Show( std::ostream& out, int ndx ) const;
 
 #endif
 
diff --git a/gerbview/class_gbr_layout.h b/gerbview/class_gbr_layout.h
index 6720e2c9f..13c66345a 100644
--- a/gerbview/class_gbr_layout.h
+++ b/gerbview/class_gbr_layout.h
@@ -99,7 +99,7 @@ public:
      * may be called soon after ComputeBoundingBox() to return the same EDA_RECT,
      * as long as the CLASS_GBR_LAYOUT has not changed.
      */
-    EDA_RECT GetBoundingBox() const { return m_BoundingBox; }    // override
+    EDA_RECT GetBoundingBox() const { return m_BoundingBox; }
 
     void SetBoundingBox( const EDA_RECT& aBox ) { m_BoundingBox = aBox; }
 
@@ -174,7 +174,7 @@ public:
     bool    IsLayerPrintable( int aLayer ) const;
 
 #if defined(DEBUG)
-    void    Show( int nestLevel, std::ostream& os ) const;  // overload
+    void    Show( int nestLevel, std::ostream& os ) const;
 
 #endif
 };
diff --git a/pagelayout_editor/class_pl_editor_layout.h b/pagelayout_editor/class_pl_editor_layout.h
index db04fcc3c..e7f4ac893 100644
--- a/pagelayout_editor/class_pl_editor_layout.h
+++ b/pagelayout_editor/class_pl_editor_layout.h
@@ -84,12 +84,12 @@ public:
      * may be called soon after ComputeBoundingBox() to return the same EDA_RECT,
      * as long as the CLASS_PL_EDITOR_LAYOUT has not changed.
      */
-    const EDA_RECT GetBoundingBox() const { return m_BoundingBox; }    // override
+    const EDA_RECT GetBoundingBox() const { return m_BoundingBox; }
 
     void SetBoundingBox( const EDA_RECT& aBox ) { m_BoundingBox = aBox; }
 
 #if defined(DEBUG)
-    void    Show( int nestLevel, std::ostream& os ) const;  // overload
+    void    Show( int nestLevel, std::ostream& os ) const;
 
 #endif
 };
diff --git a/pcbnew/class_netclass.h b/pcbnew/class_netclass.h
index c12096d61..13eb4f815 100644
--- a/pcbnew/class_netclass.h
+++ b/pcbnew/class_netclass.h
@@ -214,7 +214,7 @@ public:
         throw( IO_ERROR );
 
 #if defined(DEBUG)
-    void Show( int nestLevel, std::ostream& os ) const;     // overload
+    void Show( int nestLevel, std::ostream& os ) const;
 #endif
 };
 

Follow ups