From 30bc6de110d5990710ede511cfa66218cb99ead1 Mon Sep 17 00:00:00 2001 From: Adonais Romero González Date: Tue, 21 Jan 2025 17:32:28 -0800 Subject: [avstream/sampledevicemft] Use C++17 (#1256) --- avstream/sampledevicemft/dllmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avstream/sampledevicemft/dllmain.cpp') diff --git a/avstream/sampledevicemft/dllmain.cpp b/avstream/sampledevicemft/dllmain.cpp index 88bfe6ab..64b6cf71 100644 --- a/avstream/sampledevicemft/dllmain.cpp +++ b/avstream/sampledevicemft/dllmain.cpp @@ -199,7 +199,7 @@ STDMETHODIMP_(BOOL) WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, void *) // Hook up WIL tracing to our trace provider. wil::SetResultLoggingCallback( - [](const wil::FailureInfo &failure) + [](const wil::FailureInfo &failure) noexcept { wchar_t debugString[2048]; if (SUCCEEDED(wil::GetFailureLogString(debugString, ARRAYSIZE(debugString), failure))) -- cgit v1.3.1