Pass some constructor argumetns by const-reference
Reviewed By: priteshrnandgaonkar Differential Revision: D7291363 fbshipit-source-id: 22e606d0b3fa1133d7e0334c8cf9f5f1f32fe64b
This commit is contained in:
parent
0b085a80bd
commit
ed0ba1bfc7
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue