Skip to content

Commit

Permalink
兼容Xcode14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
郑立宝 committed Apr 13, 2023
1 parent 75e2776 commit ca67797
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FlexLib.podspec
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion FlexLib/Classes/Flexlib/FlexUtils.m
Expand Up @@ -254,7 +254,7 @@ BOOL IsPortrait(void)
return [UIApplication sharedApplication].delegate.window;
}

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

0 comments on commit ca67797

Please sign in to comment.