mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 02:08:09 +08:00
refactor: remove needless code snippet
This commit is contained in:
@@ -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))
|
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();
|
return data.unwrap();
|
||||||
}
|
}
|
||||||
else // none of them.
|
else // none of them.
|
||||||
|
Reference in New Issue
Block a user