From eeae8c741a12672eeb99a618f3fe28a11cef6faa Mon Sep 17 00:00:00 2001 From: Simon Richter Date: Wed, 21 Sep 2016 04:58:20 +0200 Subject: [PATCH] Synchronize forward declaration with definition The actual definition uses "class", so the forward declarations should do so, too. --- include/class_title_block.h | 2 +- include/wxPcbStruct.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class_title_block.h b/include/class_title_block.h index b66f783a1a..36c85d5cf3 100644 --- a/include/class_title_block.h +++ b/include/class_title_block.h @@ -28,7 +28,7 @@ class OUTPUTFORMATTER; -struct IO_ERROR; +class IO_ERROR; /** diff --git a/include/wxPcbStruct.h b/include/wxPcbStruct.h index 356495f925..184215b250 100644 --- a/include/wxPcbStruct.h +++ b/include/wxPcbStruct.h @@ -63,7 +63,7 @@ class PCB_LAYER_BOX_SELECTOR; class NETLIST; class REPORTER; struct PARSE_ERROR; -struct IO_ERROR; +class IO_ERROR; class FP_LIB_TABLE; namespace PCB { struct IFACE; } // KIFACE_I is in pcbnew.cpp