Differ: fix debug log compilation

Summary:
Only compiles when debug flags are added locally. This fixes compiler errors.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D28003331

fbshipit-source-id: 0383f41bbb405a1b089f155d2a7f3398795ac965
This commit is contained in:
Joshua Gross 2021-04-26 11:57:24 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 2c62e02b2b
Коммит 4bc81422ed
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -406,9 +406,9 @@ static void updateMatchedPairSubtrees(
DEBUG_LOGS({
LOG(ERROR)
<< "Differ: flattening or unflattening in updateMatchedPairSubtrees: ["
<< oldChildPair.shadowView.tag << "] [" << newChildPair.shadowView.tag
<< "] " << oldChildPair.flattened << " " << newChildPair.flattened
<< " with parent: [" << parentShadowView.tag << "]";
<< oldPair.shadowView.tag << "] [" << newPair.shadowView.tag << "] "
<< oldPair.flattened << " " << newPair.flattened << " with parent: ["
<< parentShadowView.tag << "]";
});
// Flattening
@ -453,7 +453,7 @@ static void updateMatchedPairSubtrees(
calculateShadowViewMutationsFlattener(
DIFF_BREADCRUMB(
"Unflatten old list " + std::to_string(parentShadowView.tag) +
" into new tree " + std::to_string(newChildPair.shadowView.tag)),
" into new tree " + std::to_string(newPair.shadowView.tag)),
scope,
ReparentMode::Unflatten,
mutationContainer,