Skip to content

Commit 0eeea53

Browse files
committed
Adapt 0318 RNOH
1 parent bde23b1 commit 0eeea53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

harmony/smart_refresh_layout.har

161 Bytes
Binary file not shown.

harmony/smart_refresh_layout/src/main/cpp/SmartRefreshLayoutPackage.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ namespace rnoh {
3737

3838
ComponentInstance::Shared create(ComponentInstance::Context ctx) override {
3939
if (ctx.componentName == "RNCAnyHeader") {
40-
return std::make_shared<RNCAnyHeaderComponentInstance>(ctx);
40+
return std::make_shared<RNCAnyHeaderComponentInstance>(std::move(ctx));
4141
} else if (ctx.componentName == "SmartRefreshLayout") {
42-
return std::make_shared<SmartRefreshLayoutComponentInstance>(ctx);
42+
return std::make_shared<SmartRefreshLayoutComponentInstance>(std::move(ctx));
4343
}
4444
return nullptr;
4545
}

0 commit comments

Comments
 (0)