Minor Utils clean up

This commit is contained in:
FakeMichau
2026-05-03 21:06:01 +02:00
parent f0f1a62441
commit 5ea8d7a7e2
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -363,7 +363,7 @@ bool Util::IsSubpath(const std::filesystem::path& path, const std::filesystem::p
}
std::optional<std::filesystem::path> Util::FindFilePath(const std::filesystem::path& startDir,
const std::filesystem::path fileName)
const std::filesystem::path& fileName)
{
std::filesystem::path optiPath(Config::Instance()->MainDllPath.value());
auto normalizedOptiPath = optiPath.lexically_normal();
+1 -2
View File
@@ -73,8 +73,7 @@ std::string GetWindowsName(const OSVERSIONINFOW& os);
std::wstring GetExeProductName();
std::wstring GetWindowTitle(HWND hwnd);
std::optional<std::filesystem::path> FindFilePath(const std::filesystem::path& startDir,
const std::filesystem::path fileName);
std::optional<std::filesystem::path> WhoIsTheCallerPath(void* returnAddress);
const std::filesystem::path& fileName);
std::string WhoIsTheCaller(void* returnAddress);
HMODULE GetCallerModule(void* returnAddress);
MonitorInfo GetMonitorInfoForWindow(HWND hwnd);