diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2024-12-03 15:12:53 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-12-05 22:29:57 +0200 |
commit | b5fd7631e6d681a89d800b22a153cfe13e4e5631 (patch) | |
tree | a68eb3a9a90968df6e976442eca7147f3a305243 | |
parent | 8f7155ddfbfaa075da1908c8a9ae6f3c54d09664 (diff) |
test: span: Use intended variable
It appears that the original intention was to use it in these
particular constructor tests: the variable is otherwise unused,
and `Span<const int>{ v }` is already tested.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | test/span.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/span.cpp b/test/span.cpp index 5452967d..4b9f3279 100644 --- a/test/span.cpp +++ b/test/span.cpp @@ -143,9 +143,9 @@ protected: Span<const int>{ v }; /* Span<float>{ v }; */ - Span<const int>{ v }; - /* Span<int>{ v }; */ - /* Span<const float>{ v }; */ + Span<const int>{ cv }; + /* Span<int>{ cv }; */ + /* Span<const float>{ cv }; */ Span<int> dynamicSpan{ i }; Span<int>{ dynamicSpan }; |