Skip to content

Commit

Permalink
兼容Xcode14.3
Browse files Browse the repository at this point in the history
郑立宝 committed Apr 13, 2023
1 parent 75e2776 commit ca67797
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FlexLib.podspec
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'FlexLib'
s.version = '3.2.0'
s.version = '3.2.1'
s.summary = 'An obj-c flex layout framework for IOS & mac'

# This description is used to generate tags and improve search results.
2 changes: 1 addition & 1 deletion FlexLib/Classes/Flexlib/FlexUtils.m
Original file line number Diff line number Diff line change
@@ -254,7 +254,7 @@ BOOL IsPortrait(void)
return [UIApplication sharedApplication].delegate.window;
}

double GetAccurateSecondsSince1970()
double GetAccurateSecondsSince1970(void)
{
struct timeval now ;
gettimeofday(&now,NULL);
2 changes: 1 addition & 1 deletion FlexLib/Classes/yoga/Yoga.cpp
Original file line number Diff line number Diff line change
@@ -2229,7 +2229,7 @@ static float YGDistributeFreeSpaceSecondPass(
depth,
generationCount);
node->setLayoutHadOverflow(
node->getLayout().hadOverflow() |
node->getLayout().hadOverflow() ||
currentRelativeChild->getLayout().hadOverflow());
}
return deltaFreeSpace;

0 comments on commit ca67797

Please sign in to comment.