From 63edfb8d525547ad5089e309fc61095d8c59c934 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 12 Jan 2022 09:17:14 +0100 Subject: [PATCH] tests: Fixed compiling of bitfield test --- .../include/test_patterns/test_pattern_bitfields.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/pattern_language/include/test_patterns/test_pattern_bitfields.hpp b/tests/pattern_language/include/test_patterns/test_pattern_bitfields.hpp index 05f12090b..302ce070c 100644 --- a/tests/pattern_language/include/test_patterns/test_pattern_bitfields.hpp +++ b/tests/pattern_language/include/test_patterns/test_pattern_bitfields.hpp @@ -10,10 +10,10 @@ namespace hex::test { auto testBitfield = create("TestBitfield", "testBitfield", 0x12, (4 * 4) / 8, nullptr); testBitfield->setEndian(std::endian::big); testBitfield->setFields({ - create("", "a", 0x12, 0, 4, nullptr), - create("", "b", 0x12, 4, 4, nullptr), - create("", "c", 0x12, 8, 4, nullptr), - create("", "d", 0x12, 12, 4, nullptr) + create("", "a", 0x12, 0, 4, testBitfield, nullptr), + create("", "b", 0x12, 4, 4, testBitfield, nullptr), + create("", "c", 0x12, 8, 4, testBitfield, nullptr), + create("", "d", 0x12, 12, 4, testBitfield, nullptr) }); addPattern(testBitfield);