preprocessor: remove unused private field in EstimationStatement
parent
6f25bfbea0
commit
7faf72ab85
|
@ -261,11 +261,9 @@ DiscretionaryPolicyStatement::writeOutput(ostream &output, const string &basenam
|
|||
}
|
||||
|
||||
EstimationStatement::EstimationStatement(const SymbolList &symbol_list_arg,
|
||||
const OptionsList &options_list_arg,
|
||||
const SymbolTable &symbol_table_arg) :
|
||||
const OptionsList &options_list_arg) :
|
||||
symbol_list(symbol_list_arg),
|
||||
options_list(options_list_arg),
|
||||
symbol_table(symbol_table_arg)
|
||||
options_list(options_list_arg)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -157,11 +157,9 @@ class EstimationStatement : public Statement
|
|||
private:
|
||||
const SymbolList symbol_list;
|
||||
const OptionsList options_list;
|
||||
const SymbolTable &symbol_table;
|
||||
public:
|
||||
EstimationStatement(const SymbolList &symbol_list_arg,
|
||||
const OptionsList &options_list_arg,
|
||||
const SymbolTable &symbol_table);
|
||||
const OptionsList &options_list_arg);
|
||||
virtual void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings);
|
||||
virtual void writeOutput(ostream &output, const string &basename) const;
|
||||
};
|
||||
|
|
|
@ -1540,7 +1540,7 @@ ParsingDriver::set_corr_options(string *name1, string *name2, string *subsample_
|
|||
void
|
||||
ParsingDriver::run_estimation()
|
||||
{
|
||||
mod_file->addStatement(new EstimationStatement(symbol_list, options_list, mod_file->symbol_table));
|
||||
mod_file->addStatement(new EstimationStatement(symbol_list, options_list));
|
||||
symbol_list.clear();
|
||||
options_list.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue