We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9847e9 commit 302097fCopy full SHA for 302097f
cppwinrt/component_writers.h
@@ -1152,9 +1152,9 @@ namespace winrt::@::implementation
1152
1153
static void write_component_cpp(writer& w, TypeDef const& type)
1154
{
1155
- auto filename = get_component_filename(type);
1156
-
1157
+ auto filename = get_component_filename(type);
+
1158
auto format = R"(#include "%.h"
1159
)";
1160
@@ -1163,6 +1163,8 @@ namespace winrt::@::implementation
1163
1164
if (settings.component_opt)
1165
1166
+ auto filename = get_generated_component_filename(type);
1167
1168
auto format = R"(#include "%.g.cpp"
1169
1170
0 commit comments