Skip to content

Commit 3392085

Browse files
committed
added proper effort and distance
1 parent ae98d42 commit 3392085

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

JxlCoder.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
1919
s.pod_target_xcconfig = {
2020
'OTHER_CXXFLAGS' => '$(inherited) -std=c++20',
2121
'HEADER_SEARCH_PATHS' => '$(inherited) "$(PODS_TARGET_SRCROOT)/Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers"',
22-
'OTHER_CPLUSPLUSFLAGS' => '$(inherited) -fmodules -fcxx-modules'
22+
'OTHER_CPLUSPLUSFLAGS' => '$(inherited) -fmodules -fcxx-modules -std=c++20'
2323
}
2424
s.preserve_paths = "Sources/Frameworks/*.xcframework", "Sources/Frameworks/*.xcframework/**/Headers", "Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/jxl", "Sources/Frameworks/libjxl.xcframework/ios-arm64/Headers/jpegli"
2525
s.libraries = 'c++'

Sources/jxlc/JxlInternalCoder.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#import <Accelerate/Accelerate.h>
3131
#import "RgbRgbaConverter.hpp"
3232
#import "RgbaScaler.h"
33+
#import <algorithm>
3334

3435
static void JXLCGData16ProviderReleaseDataCallback(void *info, const void *data, size_t size) {
3536
auto dataWrapper = static_cast<JXLDataWrapper<uint16_t>*>(info);

0 commit comments

Comments
 (0)