Skip to content

Commit

Permalink
Test build (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr authored Dec 2, 2019
1 parent fd4b105 commit 358db2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cppwinrt/code_writers.h
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>

static void write_interface_override_method(writer& w, MethodDef const& method, std::string_view const& interface_name)
{
auto format = R"( template <typename D> auto %T<D>::%(%) const
auto format = R"( template <typename D> WINRT_IMPL_AUTO(%) %T<D>::%(%) const
{
return shim().template try_as<%>().%(%);
}
Expand All @@ -1870,6 +1870,7 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
auto method_name = get_name(method);

w.write(format,
signature.return_signature(),
interface_name,
method_name,
bind<write_consume_params>(signature),
Expand Down

0 comments on commit 358db2a

Please sign in to comment.