mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 02:40:20 +08:00
fix: fixed shared_ptr refcount crash on macOS
This commit is contained in:
parent
20a711718f
commit
11f454bc76
@ -1 +1 @@
|
||||
5859
|
||||
5860
|
||||
|
@ -50,7 +50,7 @@ namespace Qv2ray::ui::nodemodels
|
||||
} \
|
||||
std::shared_ptr<INNER_TYPE> GetData() \
|
||||
{ \
|
||||
return data; \
|
||||
return std::shared_ptr<INNER_TYPE>(data); \
|
||||
} \
|
||||
\
|
||||
private: \
|
||||
|
Loading…
Reference in New Issue
Block a user