From 4bde4893c9ab3a0d09570946b67734751bc84408 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 4 Aug 2026 16:16:32 +0200 Subject: Pushing something --- modules/codec/.nix/derivation.nix | 2 ++ modules/codec/c++/data.hpp | 2 +- modules/codec/tests/forst.cpp | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'modules/codec') diff --git a/modules/codec/.nix/derivation.nix b/modules/codec/.nix/derivation.nix index c17d575..a8c39b1 100644 --- a/modules/codec/.nix/derivation.nix +++ b/modules/codec/.nix/derivation.nix @@ -1,6 +1,7 @@ { lib , stdenv , scons +, bear , clang-tools , version , forstio @@ -23,6 +24,7 @@ in stdenv.mkDerivation { nativeBuildInputs = [ scons + bear clang-tools ]; diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp index 4dd1fd3..afcf382 100644 --- a/modules/codec/c++/data.hpp +++ b/modules/codec/c++/data.hpp @@ -590,7 +590,7 @@ private: }; public: data() = default; - data(data init){ + data(const data& init){ if constexpr ( 0u < sizeof...(T) ){ init_helper<0u>::apply(value_, std::move(init)); } diff --git a/modules/codec/tests/forst.cpp b/modules/codec/tests/forst.cpp index 2bf6442..e68c539 100644 --- a/modules/codec/tests/forst.cpp +++ b/modules/codec/tests/forst.cpp @@ -18,7 +18,7 @@ using TestStruct = Struct< using TestArray = Array< TestStruct >; -/* + SAW_TEST("Codec Forst Layer Info"){ using namespace saw; @@ -39,7 +39,7 @@ SAW_TEST("Codec Forst Layer Info"){ SAW_EXPECT(depth == 2, "Layer info is wrong"); } } - +/* SAW_TEST("Codec Forst Static Size Info"){ using namespace saw; -- cgit v1.2.3