diff --git a/Src/BMP.cpp b/Src/BMP.cpp index 34f12c1..fb884ab 100644 --- a/Src/BMP.cpp +++ b/Src/BMP.cpp @@ -206,11 +206,6 @@ namespace Leonetienne::BmpPP { return isInitialized; } - std::vector &BMP::GetPixelbuffer() { - CHECK_IF_INITIALIZED - return pixelBuffer; - } - const std::vector &BMP::GetPixelbuffer() const { CHECK_IF_INITIALIZED return pixelBuffer; diff --git a/Src/BMP.h b/Src/BMP.h index 56df42f..0e75a5c 100644 --- a/Src/BMP.h +++ b/Src/BMP.h @@ -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& GetPixelbuffer(); - //! Will return the actual vector containing the raw pixel data [[nodiscard]] const std::vector& GetPixelbuffer() const;