fixed bug where failing to read from the string was silently ignored (causing further problems in the framework -- eoParser)
This commit is contained in:
parent
db9f63f61a
commit
b5f15a4a3d
1 changed files with 3 additions and 1 deletions
|
|
@ -224,7 +224,9 @@ public :
|
|||
void setValue(const std::string& _value)
|
||||
{
|
||||
std::istringstream is(_value);
|
||||
is >> repValue;
|
||||
bool read = (is >> repValue);
|
||||
if (!read)
|
||||
throw std::runtime_error("Could not read value passed in eoValueParam::setValue");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue