mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-16 02:02:51 -07:00
Remove empty COpndCommand destructor. Cleanup constructor declaration.
This commit is contained in:
parent
b70a12c6cf
commit
ebfce5a8cd
2 changed files with 9 additions and 10 deletions
|
@ -95,11 +95,13 @@ void CBinaryCommand::Accept(_In_ ISerializeCommandVisitor &commandVisitor)
|
|||
commandVisitor.Visit(*this);
|
||||
}
|
||||
|
||||
COpndCommand::COpndCommand(_In_ shared_ptr<CalculatorVector<int>> const &commands,
|
||||
bool fNegative,
|
||||
bool fDecimal,
|
||||
bool fSciFmt) :
|
||||
m_commands(commands), m_fNegative(fNegative), m_fDecimal(fDecimal), m_fSciFmt(fSciFmt), m_fInitialized(false), m_value{}
|
||||
COpndCommand::COpndCommand(shared_ptr<CalculatorVector<int>> const &commands, bool fNegative, bool fDecimal, bool fSciFmt) :
|
||||
m_commands(commands),
|
||||
m_fNegative(fNegative),
|
||||
m_fDecimal(fDecimal),
|
||||
m_fSciFmt(fSciFmt),
|
||||
m_fInitialized(false),
|
||||
m_value{}
|
||||
{}
|
||||
|
||||
void COpndCommand::Initialize(Rational const& rat)
|
||||
|
@ -299,9 +301,6 @@ wstring COpndCommand::GetString(uint32_t radix, int32_t precision, wchar_t decim
|
|||
return result;
|
||||
}
|
||||
|
||||
COpndCommand::~COpndCommand()
|
||||
{}
|
||||
|
||||
void COpndCommand::Accept(_In_ ISerializeCommandVisitor &commandVisitor)
|
||||
{
|
||||
commandVisitor.Visit(*this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue