@@ -1619,7 +1619,7 @@ namespace cppwinrt
16191619 else if (optional)
16201620 {
16211621 auto format = R"( if (%) *% = nullptr;
1622- Windows::Foundation::IInspectable winrt_impl_%;
1622+ winrt:: Windows::Foundation::IInspectable winrt_impl_%;
16231623)" ;
16241624
16251625 w.write (format, param_name, param_name, param_name);
@@ -1961,7 +1961,7 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
19611961
19621962 if (!found)
19631963 {
1964- w.write (" , Windows::Foundation::IInspectable" );
1964+ w.write (" , winrt:: Windows::Foundation::IInspectable" );
19651965 }
19661966 }
19671967
@@ -2314,11 +2314,11 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
23142314 if (empty (generics))
23152315 {
23162316 auto format = R"( struct __declspec(empty_bases) % :
2317- Windows::Foundation::IInspectable,
2317+ winrt:: Windows::Foundation::IInspectable,
23182318 impl::consume_t<%>%
23192319 {
23202320 %(std::nullptr_t = nullptr) noexcept {}
2321- %(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
2321+ %(void* ptr, take_ownership_from_abi_t) noexcept : winrt:: Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
23222322 %(% const&) noexcept = default;
23232323 %(%&&) noexcept = default;
23242324 %& operator=(% const&) & noexcept = default;
@@ -2349,11 +2349,11 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
23492349
23502350 auto format = R"( template <%>
23512351 struct __declspec(empty_bases) % :
2352- Windows::Foundation::IInspectable,
2352+ winrt:: Windows::Foundation::IInspectable,
23532353 impl::consume_t<%>%
23542354 {%
23552355 %(std::nullptr_t = nullptr) noexcept {}
2356- %(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
2356+ %(void* ptr, take_ownership_from_abi_t) noexcept : winrt:: Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
23572357 %(% const&) noexcept = default;
23582358 %(%&&) noexcept = default;
23592359 %& operator=(% const&) & noexcept = default;
@@ -2925,7 +2925,7 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
29252925
29262926 auto format = R"( inline %::%(%)
29272927 {
2928- Windows::Foundation::IInspectable %, %;
2928+ winrt:: Windows::Foundation::IInspectable %, %;
29292929 *this = % { return f.%(%%%, %); });
29302930 }
29312931)" ;
@@ -3056,15 +3056,15 @@ struct __declspec(empty_bases) produce_dispatch_to_overridable<T, D, %>
30563056 if (has_fastabi (type))
30573057 {
30583058 format = R"( inline %::%() :
3059- %(impl::call_factory_cast<%(*)(Windows::Foundation::IActivationFactory const&), %>([](Windows::Foundation::IActivationFactory const& f) { return impl::fast_activate<%>(f); }))
3059+ %(impl::call_factory_cast<%(*)(winrt:: Windows::Foundation::IActivationFactory const&), %>([](winrt:: Windows::Foundation::IActivationFactory const& f) { return impl::fast_activate<%>(f); }))
30603060 {
30613061 }
30623062)" ;
30633063 }
30643064 else
30653065 {
30663066 format = R"( inline %::%() :
3067- %(impl::call_factory_cast<%(*)(Windows::Foundation::IActivationFactory const&), %>([](Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<%>(); }))
3067+ %(impl::call_factory_cast<%(*)(winrt:: Windows::Foundation::IActivationFactory const&), %>([](winrt:: Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<%>(); }))
30683068 {
30693069 }
30703070)" ;
0 commit comments