Commit e3a11122 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

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

Revert 717eea9e. Actually this produced more warnings for all gcc versions
than we had for some versions of clang.
parent b644dec9
......@@ -1831,10 +1831,7 @@ class lexer
for (auto range = ranges.begin(); range != ranges.end(); ++range)
{
get();
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunsequenced"
if (JSON_LIKELY(*range <= current and current <= *(++range)))
#pragma clang diagnostic pop
{
add(current);
}
......
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