Skip to content

Commit

Permalink
Added virtual destructors to supress compiler warnings on OCRopus.
Browse files Browse the repository at this point in the history
That should be harmless.


git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@12 d0cd1f9f-072b-0410-8dd7-cf729c803f20
  • Loading branch information
mezhirov committed Mar 19, 2007
1 parent 9a90cb6 commit d3a359e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions display/cmndwin.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ class COMMAND_WINDOW
const char *name, //window name
MENU_ROOT *menu_ptr);

virtual ~COMMAND_WINDOW() {}

void event( //Process event //Command event type
GRAPHICS_EVENT &g_event,
INT32 *c_event,
Expand Down
2 changes: 2 additions & 0 deletions display/sbdmenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ class MENU_NODE
INT16 width); //required width

public:
virtual ~MENU_NODE() {}

//return ptr to name
virtual const char *cmp_str() {
return name.string ();
Expand Down

0 comments on commit d3a359e

Please sign in to comment.