From 7a84dff7d65211aea06eb7f44c706a3c273220b9 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 6 Dec 2021 16:23:09 +0100 Subject: [PATCH] maybe this fixes the build error? --- tests/src/fsfw_tests/unit/cfdp/testFinishedPdu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/src/fsfw_tests/unit/cfdp/testFinishedPdu.cpp b/tests/src/fsfw_tests/unit/cfdp/testFinishedPdu.cpp index 718750de..72c3f932 100644 --- a/tests/src/fsfw_tests/unit/cfdp/testFinishedPdu.cpp +++ b/tests/src/fsfw_tests/unit/cfdp/testFinishedPdu.cpp @@ -37,7 +37,7 @@ TEST_CASE( "Finished PDU" , "[FinishedPdu]") { // Add a filestore response std::string firstName = "hello.txt"; - cfdp::Lv firstNameLv(reinterpret_cast(firstName.data()), firstName.size()); + cfdp::Lv firstNameLv(reinterpret_cast(firstName.data()), firstName.size()); FilestoreResponseTlv response(cfdp::FilestoreActionCode::DELETE_FILE, cfdp::FSR_APPEND_FILE_1_NOT_EXISTS, firstNameLv, nullptr); FilestoreResponseTlv* responsePtr = &response; @@ -56,7 +56,7 @@ TEST_CASE( "Finished PDU" , "[FinishedPdu]") { // Add two filestore responses and a fault location parameter std::string secondName = "hello2.txt"; - cfdp::Lv secondNameLv(reinterpret_cast(secondName.data()), secondName.size()); + cfdp::Lv secondNameLv(reinterpret_cast(secondName.data()), secondName.size()); FilestoreResponseTlv response2(cfdp::FilestoreActionCode::DENY_FILE , cfdp::FSR_SUCCESS, secondNameLv, nullptr); REQUIRE(response2.getSerializedSize() == 15); @@ -106,7 +106,7 @@ TEST_CASE( "Finished PDU" , "[FinishedPdu]") { sz = 0; buffer = fnBuffer.data(); std::string firstName = "hello.txt"; - cfdp::Lv firstNameLv(reinterpret_cast(firstName.data()), firstName.size()); + cfdp::Lv firstNameLv(reinterpret_cast(firstName.data()), firstName.size()); FilestoreResponseTlv response(cfdp::FilestoreActionCode::DELETE_FILE, cfdp::FSR_NOT_PERFORMED, firstNameLv, nullptr); FilestoreResponseTlv* responsePtr = &response; @@ -136,7 +136,7 @@ TEST_CASE( "Finished PDU" , "[FinishedPdu]") { // Add two filestore responses and a fault location parameter std::string secondName = "hello2.txt"; - cfdp::Lv secondNameLv(reinterpret_cast(secondName.data()), secondName.size()); + cfdp::Lv secondNameLv(reinterpret_cast(secondName.data()), secondName.size()); FilestoreResponseTlv response2(cfdp::FilestoreActionCode::DENY_FILE , cfdp::FSR_SUCCESS, secondNameLv, nullptr); REQUIRE(response2.getSerializedSize() == 15);