From b8a87223bb70fccc47ba0f9c96b3f58de6e1e5bd Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Mon, 26 May 2025 22:38:04 +0200 Subject: Add compile-time configuration for build settings --- asl/types/span.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asl/types/span.hpp') diff --git a/asl/types/span.hpp b/asl/types/span.hpp index af33ece..1ebef10 100644 --- a/asl/types/span.hpp +++ b/asl/types/span.hpp @@ -68,7 +68,7 @@ public: , m_size{size} {} - constexpr explicit span(T* data, isize_t size) + constexpr explicit span(T* data, [[maybe_unused]] isize_t size) requires (!kIsDynamic) : m_data{data} { -- cgit