client: Use string.empty() instead of == ''

This commit is contained in:
Dmitry Tsarevich 2020-05-07 14:44:13 +03:00
parent c09041eb7a
commit 65d528f1f8
No known key found for this signature in database
GPG Key ID: E3C61298FF5B1274
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ bool get_available_wsls(std::vector<std::string>& wsls, std::string& default_wsl
RegCloseKey(hKey); RegCloseKey(hKey);
return default_wsl != ""; return !default_wsl.empty();
} }
typedef HRESULT(WINAPI *PWslLaunch)(PCWSTR, PCWSTR, BOOL, HANDLE, HANDLE, HANDLE, HANDLE*); typedef HRESULT(WINAPI *PWslLaunch)(PCWSTR, PCWSTR, BOOL, HANDLE, HANDLE, HANDLE, HANDLE*);