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);