diff --git a/AK/Bitmap.h b/AK/Bitmap.h index aaaa46e6bc..92e7c4c890 100644 --- a/AK/Bitmap.h +++ b/AK/Bitmap.h @@ -156,7 +156,7 @@ public: if (!get(j)) return j; - return -1; + return {}; } Optional find_longest_range_of_unset_bits(size_t max_length, size_t& found_range_size) const