Skip to content

Commit

Permalink
Pass some constructor argumetns by const-reference
Browse files Browse the repository at this point in the history
Reviewed By: priteshrnandgaonkar

Differential Revision: D7291363

fbshipit-source-id: 22e606d0b3fa1133d7e0334c8cf9f5f1f32fe64b
  • Loading branch information
Jonathan Dann authored and facebook-github-bot committed Mar 21, 2018
1 parent 0b085a8 commit ed0ba1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ReactCommon/yoga/yoga/YGNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,10 @@ YGNode::YGNode(
YGBaselineFunc baseline,
YGDirtiedFunc dirtied,
YGStyle style,
YGLayout layout,
const YGLayout& layout,
uint32_t lineIndex,
YGNodeRef parent,
YGVector children,
const YGVector& children,
YGNodeRef nextChild,
YGConfigRef config,
bool isDirty,
Expand Down
4 changes: 2 additions & 2 deletions ReactCommon/yoga/yoga/YGNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ struct YGNode {
YGBaselineFunc baseline,
YGDirtiedFunc dirtied,
YGStyle style,
YGLayout layout,
const YGLayout& layout,
uint32_t lineIndex,
YGNodeRef parent,
YGVector children,
const YGVector& children,
YGNodeRef nextChild,
YGConfigRef config,
bool isDirty,
Expand Down

0 comments on commit ed0ba1b

Please sign in to comment.