🎨 replace alternative operators (and, not, or)

This commit is contained in:
Niels Lohmann committed 2020-06-03 14:20:36 +02:00
1 parent 4f04ea1bef
commit 0498202a03
22 files changed
+1300 -1300

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
const auto l_index = static_cast<std::size_t>(lhs);
const auto r_index = static_cast<std::size_t>(rhs);
return l_index < order.size() and r_index < order.size() and order[l_index] < order[r_index];
return l_index < order.size() && r_index < order.size() && order[l_index] < order[r_index];
}
} // namespace detail
} // namespace nlohmann