Skip to content

Commit

Permalink
dont modify modname, remove unused include file
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukoooo committed Apr 10, 2024
1 parent 6dc7191 commit 0a636af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/ReGenny.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ void ReGenny::update_address() {
m_address = m_parsed_address.offsets.front();

if (!m_parsed_address.name.empty()) {
auto& modname = m_parsed_address.name;
auto modname = m_parsed_address.name;
std::transform(modname.begin(), modname.end(), modname.begin(), tolower);

for (auto&& mod : m_process->modules()) {
Expand Down
2 changes: 0 additions & 2 deletions src/arch/Windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#include "Windows.hpp"

#include <algorithm>

namespace arch {
WindowsProcess::WindowsProcess(DWORD process_id) : Process{} {
m_process = OpenProcess(
Expand Down

0 comments on commit 0a636af

Please sign in to comment.