forked from OSchip/llvm-project
Fix struct vs. class warning.
ParserVars is declared using the class keyword. This solves the warning. llvm-svn: 129289
This commit is contained in:
parent
74adbddade
commit
2b899767e1
|
@ -509,7 +509,7 @@ private:
|
|||
EnableParserVars()
|
||||
{
|
||||
if (!m_parser_vars.get())
|
||||
m_parser_vars.reset(new struct ParserVars);
|
||||
m_parser_vars.reset(new ParserVars);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
|
@ -117,7 +117,7 @@ public:
|
|||
EnableParserVars()
|
||||
{
|
||||
if (!m_parser_vars.get())
|
||||
m_parser_vars.reset(new struct ParserVars);
|
||||
m_parser_vars.reset(new ParserVars);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue