Added virtual destructors to supress compiler warnings on OCRopus.

That should be harmless.


git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@12 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
mezhirov 2007-03-19 16:05:01 +00:00
parent 9a90cb6535
commit d3a359e2eb
2 changed files with 4 additions and 0 deletions

View File

@ -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,

View File

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