Fix core 2.3.0 compilation error due to missing std::swap

Fix core 2.3.0 compilation error due to missing std::swap (#6356)
This commit is contained in:
Theo Arends 2019-09-05 16:34:03 +02:00
parent c9df1d6942
commit db51e516b6

View File

@ -264,7 +264,10 @@ protected:
}
// swap so the user can modify without affecting the async operation
std::swap(_pixelsSending, _pixels);
// std::swap(_pixelsSending, _pixels);
uint8_t *temp = _pixelsSending;
_pixelsSending = _pixels;
_pixels = temp;
}
private: