提交 d3a359e2 编写于 作者: M mezhirov

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
上级 9a90cb65
......@@ -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,
......
......@@ -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 ();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册