Skip to content

Commit

Permalink
Remove redundant qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroMemes committed Oct 5, 2024
1 parent 2cfdb9a commit e4297f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/win32/Process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace hat::process {
return *reinterpret_cast<const IMAGE_NT_HEADERS*>(scanBytes + dosHeader->e_lfanew);
}

bool hat::process::is_readable(const std::span<const std::byte> region) {
bool is_readable(const std::span<const std::byte> region) {
constexpr DWORD readFlags = PAGE_EXECUTE_READ
| PAGE_EXECUTE_READWRITE
| PAGE_EXECUTE_WRITECOPY
Expand Down

0 comments on commit e4297f7

Please sign in to comment.