mirror of https://gitee.com/bigwinds/arangodb
fix compilation on mac (#10505)
* fix compilation on mac * fix another error
This commit is contained in:
parent
e5d6b837b9
commit
6e350d9c9f
|
@ -140,7 +140,7 @@ bool parse_json_config(const irs::string_ref& args,
|
|||
stream_bytes_type = itr->second;
|
||||
}
|
||||
|
||||
min = std::max(min, size_t(1));
|
||||
min = std::max(min, decltype(min)(1));
|
||||
max = std::max(max, min);
|
||||
|
||||
options.min_gram = min;
|
||||
|
|
|
@ -323,7 +323,7 @@ bool parse_ngram_vpack_config(const irs::string_ref& args, irs::analysis::ngram_
|
|||
options.stream_bytes_type = itr->second;
|
||||
}
|
||||
|
||||
min = std::max(min, size_t(1));
|
||||
min = std::max(min, decltype(min)(1));
|
||||
max = std::max(max, min);
|
||||
|
||||
options.min_gram = min;
|
||||
|
|
Loading…
Reference in New Issue