УМНЫЕ УКАЗАТЕЛИ
This commit is contained in:
parent
7c83d9c93e
commit
fcce9d93d4
7 changed files with 240 additions and 254 deletions
|
@ -56,10 +56,10 @@ Pixel &PixelArray::operator()(const uint32_t &i, const uint32_t &j) {
|
|||
}
|
||||
|
||||
PixelArray::~PixelArray() {
|
||||
// for (int i = 0; i < this->_height; ++i) {
|
||||
// delete[] this->array[i];
|
||||
// }
|
||||
// delete[] this->array;
|
||||
for (int i = 0; i < this->_height; ++i) {
|
||||
delete[] this->array[i];
|
||||
}
|
||||
delete[] this->array;
|
||||
}
|
||||
|
||||
PixelArray::PixelArray(const PixelArray &pA) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue