diff --git a/src/CalcManager/ExpressionCommand.cpp b/src/CalcManager/ExpressionCommand.cpp index 07c4cf7c..e671182e 100644 --- a/src/CalcManager/ExpressionCommand.cpp +++ b/src/CalcManager/ExpressionCommand.cpp @@ -95,11 +95,13 @@ void CBinaryCommand::Accept(_In_ ISerializeCommandVisitor &commandVisitor) commandVisitor.Visit(*this); } -COpndCommand::COpndCommand(_In_ shared_ptr> 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> 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); diff --git a/src/CalcManager/ExpressionCommand.h b/src/CalcManager/ExpressionCommand.h index 10bed355..0953ab26 100644 --- a/src/CalcManager/ExpressionCommand.h +++ b/src/CalcManager/ExpressionCommand.h @@ -49,11 +49,11 @@ private: class COpndCommand : public IOpndCommand { public: - COpndCommand(_In_ std::shared_ptr> const &commands, + COpndCommand( + std::shared_ptr> const &commands, bool fNegative, bool fDecimal, bool fSciFmt); - ~COpndCommand(); void Initialize(CalcEngine::Rational const& rat); const std::shared_ptr> & GetCommands() const;