Skip to content

Commit 7badb58

Browse files
committed
Update ComPtr.h
1 parent b9555f7 commit 7badb58

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

common/include/common/ComPtr.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,9 @@ class ComPtr
9191
}
9292
m_ptr = nullptr;
9393
}
94+
95+
void** put_void() {
96+
release();
97+
return reinterpret_cast<void**>(&m_ptr);
98+
}
9499
};

0 commit comments

Comments
 (0)