Skip to content

Commit 4972425

Browse files
Add <string> and <string_view> includes to C++ toast snippet
Agent-Logs-Url: https://github.com/MicrosoftDocs/windows-dev-docs-pr/sessions/87cac495-2ca3-44a8-ab34-6456b329d67c Co-authored-by: GrantMeStrength <[email protected]>
1 parent ea30bbc commit 4972425

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

hub/apps/desktop/modernize/desktop-to-uwp-enhance.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ void ShowToast(string title, string content, string image, string logo)
148148

149149
```cppwinrt
150150
#include <sstream>
151+
#include <string>
152+
#include <string_view>
151153
#include <winrt/Windows.Data.Xml.Dom.h>
152154
#include <winrt/Windows.UI.Notifications.h>
153155

0 commit comments

Comments
 (0)