diff options
Diffstat (limited to 'modules/codec')
| -rw-r--r-- | modules/codec/.nix/derivation.nix | 2 | ||||
| -rw-r--r-- | modules/codec/c++/data.hpp | 2 | ||||
| -rw-r--r-- | modules/codec/tests/forst.cpp | 4 |
3 files changed, 5 insertions, 3 deletions
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<MetaSchema, encode::Native> init){ + data(const data<MetaSchema, encode::Native>& 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; |
