Suppress warning about possibly uninitialized by initializing
This commit is contained in:
parent
37510d9c5f
commit
78764f8547
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ struct lexical_caster
|
|||
{
|
||||
DEBUG_THROW("generic");
|
||||
|
||||
To result;
|
||||
To result = To();
|
||||
std::stringstream sstr;
|
||||
|
||||
if(!(sstr << value && sstr >> result)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue