mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix compilation for LayoutAnimations debug mode
Summary: iOS needs this function to be marked as static. Changelog: [internal] Reviewed By: shergin Differential Revision: D23749613 fbshipit-source-id: a8c160646853450fc7d849448bdbb45e02beb964
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b64a6618d6
commit
3585bb422f
@@ -30,7 +30,8 @@ namespace facebook {
|
||||
namespace react {
|
||||
|
||||
#ifdef LAYOUT_ANIMATION_VERBOSE_LOGGING
|
||||
std::string GetMutationInstructionString(ShadowViewMutation const &mutation) {
|
||||
static std::string GetMutationInstructionString(
|
||||
ShadowViewMutation const &mutation) {
|
||||
bool mutationIsRemove = mutation.type == ShadowViewMutation::Type::Remove;
|
||||
bool mutationIsInsert = mutation.type == ShadowViewMutation::Type::Insert;
|
||||
bool mutationIsDelete = mutation.type == ShadowViewMutation::Type::Delete;
|
||||
|
||||
Reference in New Issue
Block a user