📝 fix wording in example

This commit is contained in:
Niels Lohmann 2022-05-08 18:04:32 +02:00
parent a6a9b439e1
commit 5f273119d9
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -1,2 +1,2 @@
one < two : true
three < four : false
json::object_comparator_t("one", "two") = true
json::object_comparator_t("three", "four") = false