📝 fix wording in example
This commit is contained in:
parent
a6a9b439e1
commit
5f273119d9
@ -6,6 +6,6 @@ using json = nlohmann::json;
|
||||
int main()
|
||||
{
|
||||
std::cout << std::boolalpha
|
||||
<< "one < two : " << json::object_comparator_t{}("one", "two") << "\n"
|
||||
<< "three < four : " << json::object_comparator_t{}("three", "four") << std::endl;
|
||||
<< "json::object_comparator_t(\"one\", \"two\") = " << json::object_comparator_t{}("one", "two") << "\n"
|
||||
<< "json::object_comparator_t(\"three\", \"four\") = " << json::object_comparator_t{}("three", "four") << std::endl;
|
||||
}
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
one < two : true
|
||||
three < four : false
|
||||
json::object_comparator_t("one", "two") = true
|
||||
json::object_comparator_t("three", "four") = false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user