From 1a9d76679a3f41a038a89742fba29d81ee24ce82 Mon Sep 17 00:00:00 2001
From: Niels Lohmann <mail@nlohmann.me>
Date: Sun, 4 Jun 2017 18:40:32 +0200
Subject: [PATCH] :bug: fixed the issue with GCC7 #590

---
 src/json.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/json.hpp b/src/json.hpp
index 9c27fb07..4efe51f7 100644
--- a/src/json.hpp
+++ b/src/json.hpp
@@ -6381,7 +6381,7 @@ class basic_json
             {
                 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:
                 {