X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstringcodec%2Fcodec.cpp;h=865d9c7de1cca44e64e64c0dccab8ad49c5a8c0b;hp=d1fc1dfb0730adbfc94e5c2c7d50335172596cf8;hb=017feade2799ddbecad62b9a7911bf4d3e229dad;hpb=a386a9ff068071aab19e6dcb0452e72784d84267;ds=sidebyside diff --git a/source/stringcodec/codec.cpp b/source/stringcodec/codec.cpp index d1fc1df..865d9c7 100644 --- a/source/stringcodec/codec.cpp +++ b/source/stringcodec/codec.cpp @@ -74,7 +74,7 @@ Codec *create_codec(const string &n) name += *i; } - ErrorMode em = THROW_ON_ERROR; + ErrorMode em = DEFAULT; if(i!=n.end() && *i==':') { string em_str(i+1, n.end());