Skip to content

Commit

Permalink
refactor: remove needless code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
ToruNiina committed Jun 22, 2019
1 parent 74ef494 commit 6a251f5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions toml/literal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6a251f5

Please sign in to comment.