fix: fixed shared_ptr refcount crash on macOS

This commit is contained in:
QwQ 2020-08-05 13:11:04 +08:00
parent 20a711718f
commit 11f454bc76
No known key found for this signature in database
GPG Key ID: E7FAEFAFCD031D4B
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
5859
5860

View File

@ -50,7 +50,7 @@ namespace Qv2ray::ui::nodemodels
} \
std::shared_ptr<INNER_TYPE> GetData() \
{ \
return data; \
return std::shared_ptr<INNER_TYPE>(data); \
} \
\
private: \