We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bde23b1 commit 0eeea53Copy full SHA for 0eeea53
harmony/smart_refresh_layout.har
161 Bytes
harmony/smart_refresh_layout/src/main/cpp/SmartRefreshLayoutPackage.h
@@ -37,9 +37,9 @@ namespace rnoh {
37
38
ComponentInstance::Shared create(ComponentInstance::Context ctx) override {
39
if (ctx.componentName == "RNCAnyHeader") {
40
- return std::make_shared<RNCAnyHeaderComponentInstance>(ctx);
+ return std::make_shared<RNCAnyHeaderComponentInstance>(std::move(ctx));
41
} else if (ctx.componentName == "SmartRefreshLayout") {
42
- return std::make_shared<SmartRefreshLayoutComponentInstance>(ctx);
+ return std::make_shared<SmartRefreshLayoutComponentInstance>(std::move(ctx));
43
}
44
return nullptr;
45
0 commit comments