Skip to content

Instantly share code, notes, and snippets.

@hizkifw
Last active January 9, 2023 07:20
Show Gist options
  • Save hizkifw/753fe65170c45b63f3cf7ccea59dcc81 to your computer and use it in GitHub Desktop.
Save hizkifw/753fe65170c45b63f3cf7ccea59dcc81 to your computer and use it in GitHub Desktop.
--- json.hpp 2023-01-09 15:13:04.871631532 +0800
+++ json2.hpp 2023-01-09 15:13:24.414084972 +0800
@@ -6054,7 +6054,7 @@
{
case value_t::array:
{
- return *lhs.m_value.array < *rhs.m_value.array;
+ return (*lhs.m_value.array) < (*rhs.m_value.array);
}
case value_t::object:
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment