Skip to content

Commit d986214

Browse files
authored
IntelliSense (#440)
1 parent 37b9aa3 commit d986214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cppwinrt/component_writers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ catch (...) { return winrt::to_hresult(); }
609609

610610
auto format = R"( %_base(%)
611611
{
612-
impl::call_factory<%, %>([&](% const& f) { f.%(%%*this, this->m_inner); });
612+
impl::call_factory<%, %>([&](% const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.%(%%*this, this->m_inner); });
613613
}
614614
)";
615615

0 commit comments

Comments
 (0)