diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-02-06 15:10:09 +0100 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-02-12 14:26:27 +0100 |
commit | cfd94e5f854431a1575f52cee779eb8299267485 (patch) | |
tree | 54186031f582545904581eead9f7af3ec82c3998 /test | |
parent | e506b45822472c23368809f4bfe0289826c5756a (diff) |
libcamera: Adapt Vector class to new location
Change the namespace of the Vector class from libipa to libcamera and
add it to the build.
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/meson.build | 1 | ||||
-rw-r--r-- | test/vector.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/meson.build b/test/meson.build index 5ed052ed..40956649 100644 --- a/test/meson.build +++ b/test/meson.build @@ -73,6 +73,7 @@ internal_tests = [ {'name': 'timer-thread', 'sources': ['timer-thread.cpp']}, {'name': 'unique-fd', 'sources': ['unique-fd.cpp']}, {'name': 'utils', 'sources': ['utils.cpp']}, + {'name': 'vector', 'sources': ['vector.cpp']}, {'name': 'yaml-parser', 'sources': ['yaml-parser.cpp']}, ] diff --git a/test/vector.cpp b/test/vector.cpp index 8e4ec77d..4fae960d 100644 --- a/test/vector.cpp +++ b/test/vector.cpp @@ -5,14 +5,14 @@ * Vector tests */ -#include "../src/ipa/libipa/vector.h" +#include "libcamera/internal/vector.h" #include <cmath> #include <iostream> #include "test.h" -using namespace libcamera::ipa; +using namespace libcamera; #define ASSERT_EQ(a, b) \ if ((a) != (b)) { \ |