From 77785fa89bee5549228507ae13b3a398481014f9 Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Wed, 3 Apr 2024 12:21:40 +0200 Subject: [PATCH] more tests --- core/include/aare/Frame.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/aare/Frame.hpp b/core/include/aare/Frame.hpp index 8ee386d..211e4dc 100644 --- a/core/include/aare/Frame.hpp +++ b/core/include/aare/Frame.hpp @@ -42,7 +42,7 @@ class Frame { ssize_t cols() const { return m_cols; } ssize_t bitdepth() const { return m_bitdepth; } ssize_t size() const { return m_rows * m_cols * m_bitdepth / 8; } - std::byte *data() { return m_data; } + std::byte *data() const { return m_data; } Frame &operator=(Frame &other) { m_rows = other.rows();