Skip to content

Commit

Permalink
IntelliSense (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Dec 2, 2019
1 parent 358db2a commit 37b9aa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cppwinrt/code_writers.h
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ namespace cppwinrt
}
else
{
auto format = "\n % %;";
auto format = "\n % %{};";
w.write(format, signature.return_signature(), signature.return_param_name());
}
}
Expand Down Expand Up @@ -2021,7 +2021,7 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>

auto format = R"( %T(%)
{
% { f.%(%%*this, this->m_inner); });
% { [[maybe_unused]] auto winrt_impl_discarded = f.%(%%*this, this->m_inner); });
}
)";

Expand Down

0 comments on commit 37b9aa3

Please sign in to comment.