Skip to content

Commit 77c2a4f

Browse files
kewdewcandillon
andauthored
fix: consistent std::move semantics (#3040)
Co-authored-by: William Candillon <[email protected]>
1 parent e029398 commit 77c2a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/skia/cpp/api/JsiSkPictureFactory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class JsiSkPictureFactory : public JsiSkHostObject {
4545
JSI_EXPORT_FUNCTIONS(JSI_EXPORT_FUNC(JsiSkPictureFactory, MakePicture))
4646

4747
explicit JsiSkPictureFactory(std::shared_ptr<RNSkPlatformContext> context)
48-
: JsiSkHostObject(context) {}
48+
: JsiSkHostObject(std::move(context)) {}
4949
};
5050

5151
} // namespace RNSkia

0 commit comments

Comments
 (0)