Commit 717eea9e authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

lib/json.hpp: remove a compiler warning on clang < 4.0

See !72.
parent 2aedcaf5
Pipeline #6449 passed with stages
in 20 minutes and 55 seconds
......@@ -1831,7 +1831,10 @@ class lexer
for (auto range = ranges.begin(); range != ranges.end(); ++range)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunsequenced"
if (JSON_LIKELY(*range <= current and current <= *(++range)))
#pragma clang diagnostic pop
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment