Skip to content

Commit ca67797

Browse files
author
郑立宝
committed
兼容Xcode14.3
1 parent 75e2776 commit ca67797

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

FlexLib.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

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

1414
# This description is used to generate tags and improve search results.

FlexLib/Classes/Flexlib/FlexUtils.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ BOOL IsPortrait(void)
254254
return [UIApplication sharedApplication].delegate.window;
255255
}
256256

257-
double GetAccurateSecondsSince1970()
257+
double GetAccurateSecondsSince1970(void)
258258
{
259259
struct timeval now ;
260260
gettimeofday(&now,NULL);

FlexLib/Classes/yoga/Yoga.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2229,7 +2229,7 @@ static float YGDistributeFreeSpaceSecondPass(
22292229
depth,
22302230
generationCount);
22312231
node->setLayoutHadOverflow(
2232-
node->getLayout().hadOverflow() |
2232+
node->getLayout().hadOverflow() ||
22332233
currentRelativeChild->getLayout().hadOverflow());
22342234
}
22352235
return deltaFreeSpace;

0 commit comments

Comments
 (0)