mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 09:05:57 -05:00
Use more const refs where applicable
This commit is contained in:
@@ -142,7 +142,7 @@ HWND getHWNDfromTitle(std::string title)
|
||||
return hwnd;
|
||||
}
|
||||
|
||||
bool isMaximized(std::string &title)
|
||||
bool isMaximized(const std::string &title)
|
||||
{
|
||||
RECT appBounds;
|
||||
MONITORINFO monitorInfo = {0};
|
||||
@@ -172,7 +172,7 @@ bool isMaximized(std::string &title)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool isFullscreen(std::string &title)
|
||||
bool isFullscreen(const std::string &title)
|
||||
{
|
||||
RECT appBounds;
|
||||
MONITORINFO monitorInfo = {0};
|
||||
|
||||
Reference in New Issue
Block a user