From 85764ba94c3f4edf1cbabc260cb94dd916b2d72f Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Tue, 5 Jan 2021 17:30:15 +0100 Subject: [PATCH] added include --- unittest/tests/storagemanager/TestNewAccessor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittest/tests/storagemanager/TestNewAccessor.cpp b/unittest/tests/storagemanager/TestNewAccessor.cpp index 87ea00ca..10d05c6b 100644 --- a/unittest/tests/storagemanager/TestNewAccessor.cpp +++ b/unittest/tests/storagemanager/TestNewAccessor.cpp @@ -2,6 +2,7 @@ #include #include #include +#include TEST_CASE( "New Accessor" , "[NewAccessor]") { LocalPool::LocalPoolConfig poolCfg = {{1, 10}}; @@ -147,7 +148,7 @@ TEST_CASE( "New Accessor" , "[NewAccessor]") { result = resultPair.second.write(testDataArray.data(), 10, 5); REQUIRE(result == retval::CATCH_FAILED); - memset(testDataArray.data(), 42, 5); + std::memset(testDataArray.data(), 42, 5); result = resultPair.second.write(testDataArray.data(), 5, 5); REQUIRE(result == retval::CATCH_OK); resultConstPair = SimplePool.getData(testStoreId);