From: Mikko Rasa Date: Sat, 1 Dec 2012 20:57:35 +0000 (+0200) Subject: Throw from LexicalConverter::get if no conversion was performed X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=468ec9f6554c89b52e10a280411c9b9d99ef451b;p=libs%2Fcore.git Throw from LexicalConverter::get if no conversion was performed --- diff --git a/source/strings/lexicalcast.cpp b/source/strings/lexicalcast.cpp index ab83b11..f4b5830 100644 --- a/source/strings/lexicalcast.cpp +++ b/source/strings/lexicalcast.cpp @@ -471,6 +471,7 @@ namespace Msp { void LexicalConverter::result(const string &s) { + filled = true; if(s.size()