Some cleanup in Bitmap.cpp
This commit is contained in:
@@ -76,8 +76,6 @@ std::optional<std::vector<T>> Bitmap<T>::getCol(uint16_t col) {
|
|||||||
auto it = std::next(mPixels.begin(), col);
|
auto it = std::next(mPixels.begin(), col);
|
||||||
|
|
||||||
for (auto& colElement : colPixels) {
|
for (auto& colElement : colPixels) {
|
||||||
int offset = std::distance(mPixels.begin(), it);
|
|
||||||
//spdlog::debug("Distance {}: {}", offset, *it);
|
|
||||||
colElement = *it;
|
colElement = *it;
|
||||||
std::advance(it, mWidth);
|
std::advance(it, mWidth);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user