Don't pass std::string
by pointer
Summary: @public Pass strings by mutable ref rather than pointer. Reviewed By: SidharthGuglani Differential Revision: D13439613 fbshipit-source-id: ea889abe0fe8ec44ae02f13c1d9a10c0dbfdbcf1
This commit is contained in:
committed by
Facebook Github Bot
parent
dd97fcc968
commit
130a9a2aa2
@@ -1060,7 +1060,7 @@ static void YGNodePrintInternal(
|
||||
const YGNodeRef node,
|
||||
const YGPrintOptions options) {
|
||||
std::string str;
|
||||
facebook::yoga::YGNodeToString(&str, node, options, 0);
|
||||
facebook::yoga::YGNodeToString(str, node, options, 0);
|
||||
YGLog(node, YGLogLevelDebug, str.c_str());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user