From e2c7db644df5070d273170512bc69c581621d2be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Fri, 8 Mar 2019 04:46:53 +0100 Subject: [PATCH] Mark classes as `final` where applicable (#189) --- src/CalcManager/ExpressionCommand.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CalcManager/ExpressionCommand.h b/src/CalcManager/ExpressionCommand.h index 0953ab26..275c8da3 100644 --- a/src/CalcManager/ExpressionCommand.h +++ b/src/CalcManager/ExpressionCommand.h @@ -6,7 +6,7 @@ #include "Header Files/CalcEngine.h" #include "Header Files/Rational.h" -class CParentheses : public IParenthesisCommand +class CParentheses final : public IParenthesisCommand { public: CParentheses(_In_ int command); @@ -18,7 +18,7 @@ private: int m_command; }; -class CUnaryCommand : public IUnaryCommand +class CUnaryCommand final : public IUnaryCommand { public: CUnaryCommand(int command); @@ -33,7 +33,7 @@ private: std::shared_ptr> m_command; }; -class CBinaryCommand : public IBinaryCommand +class CBinaryCommand final : public IBinaryCommand { public: CBinaryCommand(int command); @@ -46,7 +46,7 @@ private: int m_command; }; -class COpndCommand : public IOpndCommand +class COpndCommand final : public IOpndCommand { public: COpndCommand(