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 c978627 commit 00bc3b8Copy full SHA for 00bc3b8
strings/base_com_ptr.h
@@ -111,7 +111,7 @@ WINRT_EXPORT namespace winrt
111
112
type** put() noexcept
113
{
114
- WINRT_ASSERT(m_ptr == nullptr);
+ release_ref();
115
return &m_ptr;
116
}
117
strings/base_handle.h
@@ -52,7 +52,7 @@ WINRT_EXPORT namespace winrt
52
53
type* put() noexcept
54
55
- WINRT_ASSERT(m_value == T::invalid());
+ close();
56
return &m_value;
57
58
0 commit comments