bytesInReserve_ = std::min(maxBytesInReserve_, bytesInReserve_ + bytes);
1 line instead of 4. And looks simpler.