mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[cplusplus] Make .reference() return T*
This commit is contained in:
1 parent
7e7a4a8f05
commit
4d646773cf
1 file changed
+1
-1
+1
-1
@@ -74,7 +74,7 @@ struct shared_ptr
|
||||
bool operator != (const shared_ptr &o) { return p != o.p; }
|
||||
|
||||
static T* get_empty() { return v::get_empty (); }
|
||||
void reference() { v::reference (p); }
|
||||
T* reference() { return v::reference (p); }
|
||||
void destroy() { v::destroy (p); }
|
||||
void set_user_data (hb_user_data_key_t *key,
|
||||
void *value,
|
||||
|
||||
Reference in new issue
Block a user