diff --git a/libobs/util/windows/CoTaskMemPtr.hpp b/libobs/util/windows/CoTaskMemPtr.hpp index 84368e4d9..97206b315 100644 --- a/libobs/util/windows/CoTaskMemPtr.hpp +++ b/libobs/util/windows/CoTaskMemPtr.hpp @@ -39,6 +39,7 @@ public: { Clear(); ptr = val; + return *this; } inline T **operator&()