mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
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:
parent
c9df1d6942
commit
db51e516b6
@ -264,7 +264,10 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// swap so the user can modify without affecting the async operation
|
// 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:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user