fixed typo (reported by Michael Zeilfelder)
parent
88be826331
commit
4ccee2340a
|
@ -106,7 +106,7 @@ MemoryMappedFile::~MemoryMappedFile() {
|
|||
if (retval != 0)
|
||||
Log(EWarn, "munmap(): unable to unmap memory!");
|
||||
#elif defined(WIN32)
|
||||
if (!UnmapViewOfFile(d->data) {
|
||||
if (!UnmapViewOfFile(d->data)) {
|
||||
Log(EWarn, "UnmapViewOfFile(): unable to unmap memory: %s", lastErrorText().c_str());
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue