libobs: Add OBSRef::Get()
Allows explicitly getting the pointer associated with the object.master
parent
1475f756f2
commit
f5d6a695be
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue