Fix initialization order in CEngine (#118)
The order of initialization of fields is required to match the one in class member fields declaration.
This commit is contained in:
committed by
Matt Cooley
parent
1eb717f336
commit
07ff1c372f
@@ -14,8 +14,8 @@ namespace CalcEngine
|
||||
{
|
||||
public:
|
||||
CalcNumSec() :
|
||||
m_isNegative(false),
|
||||
value()
|
||||
value(),
|
||||
m_isNegative(false)
|
||||
{}
|
||||
|
||||
void Clear();
|
||||
@@ -37,12 +37,12 @@ namespace CalcEngine
|
||||
{}
|
||||
|
||||
CalcInput(wchar_t decSymbol) :
|
||||
m_base(),
|
||||
m_exponent(),
|
||||
m_hasExponent(false),
|
||||
m_hasDecimal(false),
|
||||
m_decPtIndex(0),
|
||||
m_decSymbol(decSymbol)
|
||||
m_decSymbol(decSymbol),
|
||||
m_base(),
|
||||
m_exponent()
|
||||
{}
|
||||
|
||||
void Clear();
|
||||
|
Reference in New Issue
Block a user