lib/platform: Use std::string directly instead of String typedef

This commit is contained in:
Povilas Kanapickas
2020-05-30 21:46:49 +03:00
parent a626f245a9
commit 5eafd30de4
57 changed files with 274 additions and 358 deletions

View File

@@ -172,10 +172,9 @@ MSWindowsSession::nextProcessEntry(HANDLE snapshot, LPPROCESSENTRY32 entry)
return gotEntry;
}
String
MSWindowsSession::getActiveDesktopName()
std::string MSWindowsSession::getActiveDesktopName()
{
String result;
std::string result;
try {
HDESK hd = OpenInputDesktop(0, TRUE, GENERIC_READ);
if (hd != NULL) {