mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
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:
parent
9a90cb6535
commit
d3a359e2eb
@ -62,6 +62,8 @@ class COMMAND_WINDOW
|
|||||||
const char *name, //window name
|
const char *name, //window name
|
||||||
MENU_ROOT *menu_ptr);
|
MENU_ROOT *menu_ptr);
|
||||||
|
|
||||||
|
virtual ~COMMAND_WINDOW() {}
|
||||||
|
|
||||||
void event( //Process event //Command event type
|
void event( //Process event //Command event type
|
||||||
GRAPHICS_EVENT &g_event,
|
GRAPHICS_EVENT &g_event,
|
||||||
INT32 *c_event,
|
INT32 *c_event,
|
||||||
|
@ -95,6 +95,8 @@ class MENU_NODE
|
|||||||
INT16 width); //required width
|
INT16 width); //required width
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
virtual ~MENU_NODE() {}
|
||||||
|
|
||||||
//return ptr to name
|
//return ptr to name
|
||||||
virtual const char *cmp_str() {
|
virtual const char *cmp_str() {
|
||||||
return name.string ();
|
return name.string ();
|
||||||
|
Loading…
Reference in New Issue
Block a user