Skip to content

Commit

Permalink
nlohmann#3717: fix compilation error: "execeptions.hpp:119 accumulate…
Browse files Browse the repository at this point in the history
… is not member of std"
  • Loading branch information
Evil-Spirit committed Aug 30, 2022
1 parent bed648c commit c759e28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/nlohmann/detail/exceptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
#include <string> // to_string
#include <vector> // vector

#if JSON_DIAGNOSTICS
#include <numeric> // accumulate
#endif

#include <nlohmann/detail/value_t.hpp>
#include <nlohmann/detail/string_escape.hpp>
#include <nlohmann/detail/input/position_t.hpp>
Expand Down

0 comments on commit c759e28

Please sign in to comment.