Don't pass std::string
by pointer
Summary: @public Pass strings by mutable ref rather than pointer. Reviewed By: SidharthGuglani Differential Revision: D13236159 fbshipit-source-id: 04fd35e8a9e106ba8cdd71cfab31e8d90edaac9e
This commit is contained in:
committed by
Facebook Github Bot
parent
4248fd9d4c
commit
6b7f6980f9
@@ -1057,7 +1057,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