diff --git a/src/utility/bitmap.cpp b/src/utility/bitmap.cpp index f5f3490..89a5782 100644 --- a/src/utility/bitmap.cpp +++ b/src/utility/bitmap.cpp @@ -4,9 +4,9 @@ Bitmap::Bitmap(size_t w, size_t h) { this->width = w; this->height = h; - this->data.reserve(h); + this->data.resize(h); for (size_t r = 0; r < h; r++) { - data[r].reserve(w); + data[r].resize(w); } clear();