Suppress warning about possibly uninitialized by initializing

This commit is contained in:
Gregory A Lundberg 2017-06-19 22:18:21 -05:00
parent 37510d9c5f
commit 78764f8547

View file

@ -147,7 +147,7 @@ struct lexical_caster
{
DEBUG_THROW("generic");
To result;
To result = To();
std::stringstream sstr;
if(!(sstr << value && sstr >> result)) {