Removed dangerous getter
This commit is contained in:
parent
3dd5e23bb7
commit
f70c7782ca
@ -206,11 +206,6 @@ namespace Leonetienne::BmpPP {
|
||||
return isInitialized;
|
||||
}
|
||||
|
||||
std::vector<std::uint8_t> &BMP::GetPixelbuffer() {
|
||||
CHECK_IF_INITIALIZED
|
||||
return pixelBuffer;
|
||||
}
|
||||
|
||||
const std::vector<std::uint8_t> &BMP::GetPixelbuffer() const {
|
||||
CHECK_IF_INITIALIZED
|
||||
return pixelBuffer;
|
||||
|
@ -49,9 +49,6 @@ namespace Leonetienne::BmpPP {
|
||||
//! Will return a pointer to the raw pixel data
|
||||
[[nodiscard]] const std::uint8_t* data() const;
|
||||
|
||||
//! Will return the actual vector containing the raw pixel data
|
||||
[[nodiscard]] std::vector<std::uint8_t>& GetPixelbuffer();
|
||||
|
||||
//! Will return the actual vector containing the raw pixel data
|
||||
[[nodiscard]] const std::vector<std::uint8_t>& GetPixelbuffer() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user