fix: show correct error message

This commit is contained in:
ToruNiina 2019-04-18 00:04:33 +09:00
parent 8847cdc0a9
commit 4a560ea1e5

View File

@ -758,7 +758,7 @@ parse_offset_datetime(location<Container>& loc)
{
loc.reset(first);
return err(format_underline("[error]: toml::parse_offset_datetime: ",
{{std::addressof(loc), "the next token is not a local_datetime"}}));
{{std::addressof(loc), "the next token is not a offset_datetime"}}));
}
}