Skip to content

Commit

Permalink
change to unque ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Sep 9, 2021
1 parent 520f624 commit ccb8ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/native/NativeProxy.mm
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static id convertJSIValueToObjCObject(jsi::Runtime &runtime, const jsi::Value &v


#if __has_include(<reacthermes/HermesExecutorFactory.h>)
std::shared_ptr<jsi::Runtime> animatedRuntime = facebook::hermes::makeHermesRuntime();
std::unique_ptr<jsi::Runtime> animatedRuntime = facebook::hermes::makeHermesRuntime();
#elif __has_include(<hermes/hermes.h>)
std::unique_ptr<jsi::Runtime> animatedRuntime = facebook::hermes::makeHermesRuntime();
#else
Expand Down

0 comments on commit ccb8ab6

Please sign in to comment.