From: SUTER Frederic Date: Tue, 9 Nov 2021 09:48:37 +0000 (+0100) Subject: it may be a double, but not an int X-Git-Tag: v3.30~273 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d34f099a3c7d00c7a421cb02563c473d34af4e99 it may be a double, but not an int --- diff --git a/src/surf/xml/surfxml_sax_cb.cpp b/src/surf/xml/surfxml_sax_cb.cpp index a94ae60720..5860e283f1 100644 --- a/src/surf/xml/surfxml_sax_cb.cpp +++ b/src/surf/xml/surfxml_sax_cb.cpp @@ -88,7 +88,7 @@ int surf_parse_get_int(const std::string& s) try { return std::stoi(s); } catch (const std::invalid_argument&) { - surf_parse_error(s + " is not a double"); + surf_parse_error(s + " is not an int"); } }