summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/codec-unit/c++/unit_schema.hpp2
-rw-r--r--modules/codec-unit/tests/codec-unit.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/codec-unit/c++/unit_schema.hpp b/modules/codec-unit/c++/unit_schema.hpp
index 9ad173f..5de8770 100644
--- a/modules/codec-unit/c++/unit_schema.hpp
+++ b/modules/codec-unit/c++/unit_schema.hpp
@@ -11,6 +11,6 @@ template<typename BaseSchema, typename ... Components>
struct Unit {};
template<typename BaseSchema>
-using Scalar = Unit<BaseSchema>;
+using Pure = Unit<BaseSchema>;
}
}
diff --git a/modules/codec-unit/tests/codec-unit.cpp b/modules/codec-unit/tests/codec-unit.cpp
index 6ffc4fc..1321316 100644
--- a/modules/codec-unit/tests/codec-unit.cpp
+++ b/modules/codec-unit/tests/codec-unit.cpp
@@ -59,7 +59,7 @@ SAW_TEST("Codec Unit/Division"){
auto c = a / b;
- SAW_EXPECT(c == data<sch::Scalar<sch::Int64>>{5u}, "Expected result 5");
+ SAW_EXPECT(c == data<sch::Pure<sch::Int64>>{5u}, "Expected result 5");
}
SAW_TEST("Codec Unit/Print"){