Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

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

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)
{
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