Skip to content

Commit

Permalink
fix window error 2
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbindar authored and bekadavis9 committed Oct 7, 2024
1 parent aba53e0 commit 2c93955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiledb/common/evaluator/evaluator.h
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class MaxEntriesCache : public virtual CachePolicyBase<Key, Value> {

MaxEntriesCache()
: num_entries_(0) {
if (N == 0) {
if constexpr (N == 0) {
throw std::logic_error(
"The maximum number of entries must be greater than zero.");
}
Expand Down

0 comments on commit 2c93955

Please sign in to comment.