aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GFBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/GFBuffer.h')
-rw-r--r--src/core/model/GFBuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/model/GFBuffer.h b/src/core/model/GFBuffer.h
index cc233e86..57fbbc43 100644
--- a/src/core/model/GFBuffer.h
+++ b/src/core/model/GFBuffer.h
@@ -51,7 +51,9 @@ class GPGFRONTEND_CORE_EXPORT GFBuffer {
void Resize(size_t size);
- auto Size() -> size_t;
+ [[nodiscard]] auto Size() const -> size_t;
+
+ [[nodiscard]] auto Empty() const -> bool;
auto ConvertToQByteArray() -> QByteArray;