From c319c36b0d6d6e3c552bdc2edb70b1b3d22c83d5 Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Thu, 21 Dec 2023 13:48:11 -0800 Subject: [PATCH] Remove duplicate declaration of calculateLayoutInternal (#1532) Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1532 X-link: https://github.com/facebook/react-native/pull/42030 as per title Reviewed By: joevilches Differential Revision: D52289613 fbshipit-source-id: 51a810dda32e6fe44be05a42fe21d78aede52d30 --- yoga/algorithm/CalculateLayout.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/yoga/algorithm/CalculateLayout.cpp b/yoga/algorithm/CalculateLayout.cpp index 09ef4ea3..1aae098f 100644 --- a/yoga/algorithm/CalculateLayout.cpp +++ b/yoga/algorithm/CalculateLayout.cpp @@ -35,21 +35,6 @@ namespace facebook::yoga { std::atomic gCurrentGenerationCount(0); -bool calculateLayoutInternal( - yoga::Node* const node, - const float availableWidth, - const float availableHeight, - const Direction ownerDirection, - const SizingMode widthSizingMode, - const SizingMode heightSizingMode, - const float ownerWidth, - const float ownerHeight, - const bool performLayout, - const LayoutPassReason reason, - LayoutData& layoutMarkerData, - const uint32_t depth, - const uint32_t generationCount); - static void constrainMaxSizeForMode( const yoga::Node* node, FlexDirection axis,