Skip to content

Commit

Permalink
do not use C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo DELRIEU committed Nov 18, 2016
1 parent d9a7493 commit 0e8e9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace nlohmann
struct conjunction<B1, Bn...>
: conditional_t<bool(B1::value), conjunction<Bn...>, B1> {};

template <class B> struct negation : std::bool_constant<!B::value> {};
template <class B> struct negation : std::integral_constant<bool, !B::value> {};

template <class...> struct disjunction : std::false_type {};
template <class B1> struct disjunction<B1> : B1 {};
Expand Down

0 comments on commit 0e8e9b6

Please sign in to comment.