From 153020283c41b60feb6a7e49c5064921ef383668 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Fri, 26 Jul 2013 16:25:21 -0400 Subject: [PATCH] Fix minor debug build error. --- pagelayout_editor/pl_editor_undo_redo.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pagelayout_editor/pl_editor_undo_redo.cpp b/pagelayout_editor/pl_editor_undo_redo.cpp index c49e886149..d40708c822 100644 --- a/pagelayout_editor/pl_editor_undo_redo.cpp +++ b/pagelayout_editor/pl_editor_undo_redo.cpp @@ -52,6 +52,11 @@ public: public: PL_ITEM_LAYOUT() : EDA_ITEM( TYPE_PL_EDITOR_LAYOUT ) {} + + // Required to keep compiler happy on debug builds. +#if defined(DEBUG) + virtual void Show( int nestLevel, std::ostream& os ) const {} +#endif }; void PL_EDITOR_FRAME::SaveCopyInUndoList()