Remove unused member in the RamseyPolicyStatement class
parent
5572e478f1
commit
75a26b6d11
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2003-2021 Dynare Team
|
||||
* Copyright © 2003-2022 Dynare Team
|
||||
*
|
||||
* This file is part of Dynare.
|
||||
*
|
||||
|
@ -619,10 +619,8 @@ RamseyConstraintsStatement::writeJsonOutput(ostream &output) const
|
|||
output << "}";
|
||||
}
|
||||
|
||||
RamseyPolicyStatement::RamseyPolicyStatement(const SymbolTable &symbol_table_arg,
|
||||
SymbolList symbol_list_arg,
|
||||
RamseyPolicyStatement::RamseyPolicyStatement(SymbolList symbol_list_arg,
|
||||
OptionsList options_list_arg) :
|
||||
symbol_table{symbol_table_arg},
|
||||
symbol_list{move(symbol_list_arg)},
|
||||
options_list{move(options_list_arg)}
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2003-2021 Dynare Team
|
||||
* Copyright © 2003-2022 Dynare Team
|
||||
*
|
||||
* This file is part of Dynare.
|
||||
*
|
||||
|
@ -187,12 +187,10 @@ public:
|
|||
class RamseyPolicyStatement : public Statement
|
||||
{
|
||||
private:
|
||||
const SymbolTable &symbol_table;
|
||||
const SymbolList symbol_list;
|
||||
const OptionsList options_list;
|
||||
public:
|
||||
RamseyPolicyStatement(const SymbolTable &symbol_table_arg,
|
||||
SymbolList symbol_list_arg,
|
||||
RamseyPolicyStatement(SymbolList symbol_list_arg,
|
||||
OptionsList options_list_arg);
|
||||
void checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings) override;
|
||||
void writeOutput(ostream &output, const string &basename, bool minimal_workspace) const override;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2003-2021 Dynare Team
|
||||
* Copyright © 2003-2022 Dynare Team
|
||||
*
|
||||
* This file is part of Dynare.
|
||||
*
|
||||
|
@ -2097,8 +2097,7 @@ ParsingDriver::ramsey_policy()
|
|||
for (const auto &s : it->second.getSymbols())
|
||||
check_symbol_is_endogenous(s);
|
||||
|
||||
mod_file->addStatement(make_unique<RamseyPolicyStatement>(mod_file->symbol_table,
|
||||
symbol_list, options_list));
|
||||
mod_file->addStatement(make_unique<RamseyPolicyStatement>(symbol_list, options_list));
|
||||
options_list.clear();
|
||||
symbol_list.clear();
|
||||
planner_discount = nullptr;
|
||||
|
|
Loading…
Reference in New Issue