Fix warnings

This commit is contained in:
momo5502
2025-03-18 19:50:13 +01:00
parent 2a9a8eda35
commit ef8a9dae6e
14 changed files with 58 additions and 18 deletions

View File

@@ -499,8 +499,8 @@ namespace utils
std::optional<size_t> get_diff(const buffer_serializer& other) const
{
auto& b1 = this->get_buffer();
auto& b2 = other.get_buffer();
const auto& b1 = this->get_buffer();
const auto& b2 = other.get_buffer();
const auto s1 = b1.size();
const auto s2 = b2.size();