Skip to content

Commit a17df42

Browse files
authored
Merge pull request #238 from intel-innersource/rdementi-kw-fixes-2022-21-07
default init WinPmemMMIORange::writeSupported
2 parents d061528 + 986ae35 commit a17df42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mmio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class PCMPmem : public WinPmem {
7171

7272
std::shared_ptr<WinPmem> WinPmemMMIORange::pmem;
7373
Mutex WinPmemMMIORange::mutex;
74-
bool WinPmemMMIORange::writeSupported;
74+
bool WinPmemMMIORange::writeSupported = false;
7575

7676
WinPmemMMIORange::WinPmemMMIORange(uint64 baseAddr_, uint64 /* size_ */, bool readonly_) : startAddr(baseAddr_), readonly(readonly_)
7777
{

0 commit comments

Comments
 (0)