fix: Make sure correct close function gets called

This commit is contained in:
WerWolv
2022-09-28 15:02:55 +02:00
parent c769e9cc32
commit d021e2b362

View File

@@ -254,7 +254,7 @@ namespace hex::plugin::builtin::prv {
return false;
}
ON_SCOPE_EXIT { close(file); };
ON_SCOPE_EXIT { ::close(file); };
this->m_fileSize = this->m_fileStats.st_size;