Skip to content

Commit 41618ef

Browse files
committed
Correct test to use shareable
1 parent 457bf62 commit 41618ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-dev/Source/Sentry/Private/Tests/SentryUser.spec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void SentryUserSpec::Define()
1717
{
1818
BeforeEach([this]()
1919
{
20-
SentryUser = USentryUser::Create(new FPlatformSentryUser);
20+
SentryUser = USentryUser::Create(MakeShareable(new FPlatformSentryUser));
2121
});
2222

2323
Describe("User params", [this]()

0 commit comments

Comments
 (0)