🔨 clean up
This commit is contained in:
parent
9fc093c9e0
commit
8d3f4f21bc
11 changed files with 432 additions and 512 deletions
|
@ -344,7 +344,7 @@ class json_pointer
|
|||
std::all_of(reference_token.begin(), reference_token.end(),
|
||||
[](const char x)
|
||||
{
|
||||
return (x >= '0' and x <= '9');
|
||||
return x >= '0' and x <= '9';
|
||||
});
|
||||
|
||||
// change value to array for numbers or "-" or to object otherwise
|
||||
|
@ -793,7 +793,7 @@ class json_pointer
|
|||
friend bool operator==(json_pointer const& lhs,
|
||||
json_pointer const& rhs) noexcept
|
||||
{
|
||||
return (lhs.reference_tokens == rhs.reference_tokens);
|
||||
return lhs.reference_tokens == rhs.reference_tokens;
|
||||
}
|
||||
|
||||
friend bool operator!=(json_pointer const& lhs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue