From e3e6994e996e6df4b9fcd09c8641d570a8a725b5 Mon Sep 17 00:00:00 2001 From: manabinohibi Date: Sat, 8 Apr 2023 01:00:12 +0900 Subject: [PATCH] Fix address to persist --- src/mwcas/mwcas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mwcas/mwcas.h b/src/mwcas/mwcas.h index 7409047..1bcf9aa 100644 --- a/src/mwcas/mwcas.h +++ b/src/mwcas/mwcas.h @@ -169,7 +169,7 @@ class alignas(kCacheLineSize) Descriptor { #ifdef PMEM /// Persist the content of address_ inline void PersistAddress() { - NVRAM::Flush(sizeof(uint64_t*), (void*)&address_); + NVRAM::Flush(sizeof(uint64_t*), (void*)address_); } #endif