fix / work around uninitialized fields warnings
This commit is contained in:
parent
1698d15f7d
commit
987eb672d5
|
@ -70,9 +70,9 @@ struct _winrtWindowsUINotificationsToastNotificationPrivate
|
|||
{
|
||||
winrt::Windows::UI::Notifications::ToastNotification data;
|
||||
|
||||
std::list<std::shared_ptr<Callback<NotificationCallbackActivated>>> activated;
|
||||
std::list<std::shared_ptr<Callback<NotificationCallbackFailed>>> failed;
|
||||
std::list<std::shared_ptr<Callback<NotificationCallbackDismissed>>> dismissed;
|
||||
std::list<std::shared_ptr<Callback<NotificationCallbackActivated>>> activated{};
|
||||
std::list<std::shared_ptr<Callback<NotificationCallbackFailed>>> failed{};
|
||||
std::list<std::shared_ptr<Callback<NotificationCallbackDismissed>>> dismissed{};
|
||||
};
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -90,7 +90,7 @@ extern "C"
|
|||
|
||||
gboolean IsWindows10() noexcept
|
||||
{
|
||||
RTL_OSVERSIONINFOW rovi = { 0 };
|
||||
RTL_OSVERSIONINFOW rovi = {};
|
||||
rovi.dwOSVersionInfoSize = sizeof(rovi);
|
||||
if (S_OK == RtlGetVersion(&rovi))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue