Correction of the bug in the constructor of eoValueParam l170: numOfDigits is set before reading the value with getValue().

This commit is contained in:
verel 2014-12-31 10:36:20 +01:00
commit dbb8fbe9a7

View file

@ -166,9 +166,9 @@ public :
: eoParam(_longName, "", _description, _shortHand, _required),
repValue(_defaultValue)
{
eoParam::defValue(getValue());
// default precision
numOfDigits = std::cout.precision();
eoParam::defValue(getValue());
}
/** Get a reference on the parameter value