summaryrefslogtreecommitdiff
path: root/include/libcamera/span.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/span.h')
-rw-r--r--include/libcamera/span.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcamera/span.h b/include/libcamera/span.h
index 513ddb43..738af6ac 100644
--- a/include/libcamera/span.h
+++ b/include/libcamera/span.h
@@ -113,12 +113,12 @@ public:
{
}
- constexpr Span(pointer ptr, size_type count)
+ constexpr Span(pointer ptr, [[maybe_unused]] size_type count)
: data_(ptr)
{
}
- constexpr Span(pointer first, pointer last)
+ constexpr Span(pointer first, [[maybe_unused]] pointer last)
: data_(first)
{
}