fix build break from using await instead of co_await (#1009)

This commit is contained in:
Mike Griese
2019-05-24 16:27:45 -05:00
committed by msftbot[bot]
parent 40b557a4b6
commit 42e87ed3e3

View File

@@ -211,7 +211,7 @@ namespace winrt::TerminalApp::implementation
_root.Children().Append(dialog); _root.Children().Append(dialog);
// Display the dialog. // Display the dialog.
Controls::ContentDialogResult result = await dialog.ShowAsync(Controls::ContentDialogPlacement::Popup); Controls::ContentDialogResult result = co_await dialog.ShowAsync(Controls::ContentDialogPlacement::Popup);
// After the dialog is dismissed, the dialog lock (held by `lock`) will // After the dialog is dismissed, the dialog lock (held by `lock`) will
// be released so another can be shown. // be released so another can be shown.