Skip to content

Commit

Permalink
OrcLib: Guard: ViewOfFile: template sometimes require 'this->'
Browse files Browse the repository at this point in the history
  • Loading branch information
jgautier-anssi authored and fabienfl-orc committed Jun 4, 2024
1 parent ef9ae2c commit b42d6ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OrcLib/Utils/Guard.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,12 @@ class ViewOfFile final : public PointerGuard<T>

~ViewOfFile()
{
if (m_data == nullptr)
if (this->m_data == nullptr)
{
return;
}

if (::UnmapViewOfFile(m_data) == FALSE)
if (::UnmapViewOfFile(this->m_data) == FALSE)
{
Log::Warn("Failed UnmapViewOfFile [{}]", LastWin32Error());
}
Expand Down

0 comments on commit b42d6ee

Please sign in to comment.