mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-22 20:30:11 +00:00
refactor: remove needless code snippet
This commit is contained in:
parent
74ef494797
commit
6a251f582e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user