mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix compilation errors
This commit is contained in:
parent
0280a288c6
commit
4704de76c6
5 changed files with 12 additions and 11 deletions
|
@ -936,9 +936,9 @@ bool FullNodeConfig::operator!=(const FullNodeConfig &rhs) const {
|
|||
}
|
||||
|
||||
bool CustomOverlayParams::send_shard(const ShardIdFull &shard) const {
|
||||
return sender_shards_.empty() || std::ranges::any_of(sender_shards_, [&](const ShardIdFull &our_shard) {
|
||||
return shard_intersects(shard, our_shard);
|
||||
});
|
||||
return sender_shards_.empty() ||
|
||||
std::any_of(sender_shards_.begin(), sender_shards_.end(),
|
||||
[&](const ShardIdFull &our_shard) { return shard_intersects(shard, our_shard); });
|
||||
}
|
||||
|
||||
CustomOverlayParams CustomOverlayParams::fetch(const ton_api::engine_validator_customOverlay& f) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue