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,
|
YGBaselineFunc baseline,
|
||||||
YGDirtiedFunc dirtied,
|
YGDirtiedFunc dirtied,
|
||||||
YGStyle style,
|
YGStyle style,
|
||||||
YGLayout layout,
|
const YGLayout& layout,
|
||||||
uint32_t lineIndex,
|
uint32_t lineIndex,
|
||||||
YGNodeRef parent,
|
YGNodeRef parent,
|
||||||
YGVector children,
|
const YGVector& children,
|
||||||
YGNodeRef nextChild,
|
YGNodeRef nextChild,
|
||||||
YGConfigRef config,
|
YGConfigRef config,
|
||||||
bool isDirty,
|
bool isDirty,
|
||||||
|
|
|
@ -47,10 +47,10 @@ struct YGNode {
|
||||||
YGBaselineFunc baseline,
|
YGBaselineFunc baseline,
|
||||||
YGDirtiedFunc dirtied,
|
YGDirtiedFunc dirtied,
|
||||||
YGStyle style,
|
YGStyle style,
|
||||||
YGLayout layout,
|
const YGLayout& layout,
|
||||||
uint32_t lineIndex,
|
uint32_t lineIndex,
|
||||||
YGNodeRef parent,
|
YGNodeRef parent,
|
||||||
YGVector children,
|
const YGVector& children,
|
||||||
YGNodeRef nextChild,
|
YGNodeRef nextChild,
|
||||||
YGConfigRef config,
|
YGConfigRef config,
|
||||||
bool isDirty,
|
bool isDirty,
|
||||||
|
|
Loading…
Reference in New Issue