mirror of https://github.com/BOINC/boinc.git
client: Use string.empty() instead of == ''
This commit is contained in:
parent
c09041eb7a
commit
65d528f1f8
|
@ -89,7 +89,7 @@ bool get_available_wsls(std::vector<std::string>& wsls, std::string& default_wsl
|
|||
|
||||
RegCloseKey(hKey);
|
||||
|
||||
return default_wsl != "";
|
||||
return !default_wsl.empty();
|
||||
}
|
||||
|
||||
typedef HRESULT(WINAPI *PWslLaunch)(PCWSTR, PCWSTR, BOOL, HANDLE, HANDLE, HANDLE, HANDLE*);
|
||||
|
|
Loading…
Reference in New Issue