fix mmap compilation
CI doesn't catch all cases failing. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
c9bdd6ed94
commit
0dcd8605c9
@ -283,7 +283,7 @@ byte* FileIo::mmap(bool isWriteable) {
|
||||
if (error()) {
|
||||
throw Error(ErrorCode::kerCallFailed, path(), strError(), "FileIo::mmap");
|
||||
}
|
||||
p_->pMappedArea_ = buf.release().first;
|
||||
p_->pMappedArea_ = buf->first;
|
||||
p_->isMalloced_ = true;
|
||||
#endif
|
||||
return p_->pMappedArea_;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user