I have implicit loss conversion warning on windows. (I treat warnings as errors)
Please replace line 13691:
per_methods_[method].trie.add(rule, per_methods_[method].rules.size() - 1, BP_index != INVALID_BP_ID ? blueprints[BP_index]->prefix().length() : 0, BP_index);
by
per_methods_[method].trie.add(rule, static_cast<uint16_t>(per_methods_[method].rules.size() - 1), BP_index != INVALID_BP_ID ? static_cast<uint16_t>(blueprints[BP_index]->prefix().length()) : 0, BP_index);
I have implicit loss conversion warning on windows. (I treat warnings as errors)
Please replace line 13691:
per_methods_[method].trie.add(rule, per_methods_[method].rules.size() - 1, BP_index != INVALID_BP_ID ? blueprints[BP_index]->prefix().length() : 0, BP_index);by
per_methods_[method].trie.add(rule, static_cast<uint16_t>(per_methods_[method].rules.size() - 1), BP_index != INVALID_BP_ID ? static_cast<uint16_t>(blueprints[BP_index]->prefix().length()) : 0, BP_index);