From 4a560ea1e52fabc941d5ff1c4c09e6c9c54dac88 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Thu, 18 Apr 2019 00:04:33 +0900 Subject: [PATCH] fix: show correct error message --- toml/parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toml/parser.hpp b/toml/parser.hpp index c1b98f7..cea6a75 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -758,7 +758,7 @@ parse_offset_datetime(location& 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"}})); } }