libobs: Add OBSRef::Get()

Allows explicitly getting the pointer associated with the object.
master
jp9000 2020-08-08 09:58:24 -07:00
parent 1475f756f2
commit f5d6a695be
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ public:
}
inline operator T() const { return val; }
inline T Get() const { return val; }
inline bool operator==(T p) const { return val == p; }
inline bool operator!=(T p) const { return val != p; }