]> git.tdb.fi Git - libs/core.git/blobdiff - source/stringcodec/codec.cpp
Let the base classes decide the default error mode
[libs/core.git] / source / stringcodec / codec.cpp
index d1fc1dfb0730adbfc94e5c2c7d50335172596cf8..865d9c7de1cca44e64e64c0dccab8ad49c5a8c0b 100644 (file)
@@ -74,7 +74,7 @@ Codec *create_codec(const string &n)
                        name += *i;
        }
 
                        name += *i;
        }
 
-       ErrorMode em = THROW_ON_ERROR;
+       ErrorMode em = DEFAULT;
        if(i!=n.end() && *i==':')
        {
                string em_str(i+1, n.end());
        if(i!=n.end() && *i==':')
        {
                string em_str(i+1, n.end());