refactor: remove needless code snippet

This commit is contained in:
ToruNiina 2019-06-22 17:52:01 +09:00
parent 74ef494797
commit 6a251f582e

View File

@ -72,11 +72,6 @@ inline ::toml::value operator"" _toml(const char* str, std::size_t len)
if(auto data = ::toml::detail::parse_toml_file<::toml::value>(loc))
{
// TODO later I need to move this logic to parse_toml_file
// loc.reset(loc.begin()); // rollback to the top of the literal
// // skip needless characters for error message
// skip_line::invoke(loc); // skip the first several needless lines
// skip_ws::invoke(loc); // skip the first several needless whitespaces
return data.unwrap();
}
else // none of them.