diff options
Diffstat (limited to 'src/toml/TomlParser.cpp')
-rw-r--r-- | src/toml/TomlParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toml/TomlParser.cpp b/src/toml/TomlParser.cpp index 7c29e0be..14442c3c 100644 --- a/src/toml/TomlParser.cpp +++ b/src/toml/TomlParser.cpp @@ -31,7 +31,7 @@ void TomlParser::DoParse(TomlDocument& document) { auto equal_index = line.Find(u'='); if (equal_index == -1) { - throw TomlParsingException(u"Invalid TOML line: " + line); + throw TomlParsingException("Invalid TOML line: " + line.ToUtf8()); } auto key = line.substr(0, equal_index).Trim(); |