Skip to content

Commit

Permalink
jsonschema supports uri-reference
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Dec 16, 2024
1 parent d2a5861 commit 97ab132
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/jsoncons/utility/uri.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1013,14 +1013,6 @@ namespace jsoncons {
}
switch (state)
{
case parse_state::expect_scheme:
userinfo = std::make_pair(start,start);
host = std::make_pair(start,start);
port = std::make_pair(start,start);
path = std::make_pair(start,str.size());
query = std::make_pair(str.size(), str.size());
fragment = std::make_pair(str.size(), str.size());
break;
case parse_state::expect_userinfo:
userinfo = std::make_pair(start,start);
if (!valid_host)
Expand Down

0 comments on commit 97ab132

Please sign in to comment.