BaseTools: correct mal-typed CVfrDLGLexer::errstd

The member function CVfrDLGLexer::errstd is intended as an override virtual
function of DLGLexerBase::errstd, but due to mismatched prototype, it
didn't override, and never got called.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zenith432 <zenith432@users.sourceforge.net>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
zenith432 2017-12-09 09:38:51 +00:00 committed by Liming Gao
parent b23276135a
commit 8b13e18143
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class CVfrDLGLexer : public VfrLexer
{
public:
CVfrDLGLexer (DLGFileInput *F) : VfrLexer (F) {};
INT32 errstd (char *Text)
void errstd (const char *Text)
{
printf ("unrecognized input '%s'\n", Text);
}