fix g++-14 compilation error

This commit is contained in:
DH 2025-12-02 03:21:20 +03:00
parent 7682e76073
commit 989925b764

View file

@ -74,7 +74,8 @@ struct DirectMemoryAllocation {
merge(const DirectMemoryAllocation &other, rx::AddressRange,
rx::AddressRange) const {
auto result = *this;
result.mappings.insert_range(result.mappings.end(), other.mappings);
result.mappings.insert(result.mappings.end(), other.mappings.begin(),
other.mappings.end());
return result;
}