chore: remove unneeded conversions between wstring and u16string (#30047)

This commit is contained in:
Cheng Zhao 2021-07-12 13:33:26 +09:00 committed by GitHub
parent ccfde6c9d4
commit 21f6937728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 63 additions and 66 deletions

View file

@ -12,8 +12,8 @@ namespace electron {
struct NotificationData {
DesktopNotificationController* controller = nullptr;
std::wstring caption;
std::wstring body_text;
std::u16string caption;
std::u16string body_text;
HBITMAP image = NULL;
NotificationData() = default;