libobs: Add OBSRef::Get()
Allows explicitly getting the pointer associated with the object.
This commit is contained in:
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…
x
Reference in New Issue
Block a user