mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-06 13:22:36 +08:00
lib/platform: Use std::string directly instead of String typedef
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user