summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/byte_stream_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/byte_stream_buffer.h')
-rw-r--r--include/libcamera/internal/byte_stream_buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcamera/internal/byte_stream_buffer.h b/include/libcamera/internal/byte_stream_buffer.h
index db59577d..866cb9b0 100644
--- a/include/libcamera/internal/byte_stream_buffer.h
+++ b/include/libcamera/internal/byte_stream_buffer.h
@@ -11,6 +11,7 @@
#include <stdint.h>
#include <type_traits>
+#include <libcamera/class.h>
#include <libcamera/span.h>
namespace libcamera {
@@ -65,8 +66,7 @@ public:
}
private:
- ByteStreamBuffer(const ByteStreamBuffer &other) = delete;
- ByteStreamBuffer &operator=(const ByteStreamBuffer &other) = delete;
+ LIBCAMERA_DISABLE_COPY(ByteStreamBuffer)
void setOverflow();