fix VS warning

This commit is contained in:
Daniel Marjamäki 2015-07-25 13:23:48 +02:00
parent e5151a13ab
commit b0df668975
1 changed files with 2 additions and 1 deletions

View File

@ -159,7 +159,8 @@ bool ErrorLogger::ErrorMessage::deserialize(const std::string &data)
_id = results[0]; _id = results[0];
_severity = Severity::fromString(results[1]); _severity = Severity::fromString(results[1]);
_cwe = MathLib::toULongNumber(results[2]); std::istringstream scwe(results[2]);
scwe >> _cwe;
_shortMessage = results[3]; _shortMessage = results[3];
_verboseMessage = results[4]; _verboseMessage = results[4];