Fix warning adding int to string literal

This commit is contained in:
jmjatlanta 2019-01-07 11:13:48 -05:00
parent 0468884ea6
commit 310bec6dce

View file

@ -631,7 +631,7 @@ namespace fc
to_stream(os, v.get_object(), format, max_depth - 1 );
return;
default:
FC_THROW_EXCEPTION( fc::invalid_arg_exception, "Unsupported variant type: " + v.get_type() );
FC_THROW_EXCEPTION( fc::invalid_arg_exception, "Unsupported variant type: " + std::to_string(v.get_type()) );
}
}