1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2026-01-08 02:29:34 +00:00

no need to specify nullptr in pointer reset

This commit is contained in:
2014-02-13 23:14:28 +00:00
parent 47b9789f84
commit 0b2aee8704
2 changed files with 5 additions and 5 deletions

View File

@@ -350,10 +350,10 @@ void MathInterpreter::setCode(const std::string &code)
void MathInterpreter::reset(void)
{
code_.reset(nullptr);
code_.reset();
codeName_ = "<no_code>";
state_.reset(nullptr);
root_.reset(nullptr);
state_.reset();
root_.reset();
program_.clear();
status_ = 0;
}