Skip to content

Commit

Permalink
fix: fix issues with missing template argument <SkTypeface> (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
roshangm1 authored Jan 16, 2022
1 parent f6dc189 commit c8c4ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/cpp/api/JsiSkFontMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace RNSkia {
return jsi::Value::null();
}
return jsi::Object::createFromHostObject(
runtime, std::make_shared<JsiSkTypeface>(getContext(), sk_sp(typeface)));;
runtime, std::make_shared<JsiSkTypeface>(getContext(), sk_sp<SkTypeface>(typeface)));;
}

JSI_EXPORT_FUNCTIONS(
Expand Down

0 comments on commit c8c4ab5

Please sign in to comment.