Fix struct vs. class warning.

ParserVars is declared using the class keyword. This solves the warning.

llvm-svn: 129289
This commit is contained in:
Stephen Wilson 2011-04-11 19:38:03 +00:00
parent 74adbddade
commit 2b899767e1
2 changed files with 2 additions and 2 deletions

View File

@ -509,7 +509,7 @@ private:
EnableParserVars()
{
if (!m_parser_vars.get())
m_parser_vars.reset(new struct ParserVars);
m_parser_vars.reset(new ParserVars);
}
//----------------------------------------------------------------------

View File

@ -117,7 +117,7 @@ public:
EnableParserVars()
{
if (!m_parser_vars.get())
m_parser_vars.reset(new struct ParserVars);
m_parser_vars.reset(new ParserVars);
}
//----------------------------------------------------------------------