Skip to content

Commit

Permalink
Merge pull request #2 from Lightricks/PHOTO-1087_fix_buildtime_warnings
Browse files Browse the repository at this point in the history
[PHOTO-1087] fix buildtime warnings (Xcode 14)
  • Loading branch information
barakwei authored Nov 16, 2022
2 parents 81efd63 + d53831d commit ea29235
Show file tree
Hide file tree
Showing 11 changed files with 172 additions and 171 deletions.
323 changes: 162 additions & 161 deletions Rx.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Rx.xcodeproj/xcshareddata/xcschemes/AllTests-iOS.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Rx.xcodeproj/xcshareddata/xcschemes/AllTests-tvOS.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Rx.xcodeproj/xcshareddata/xcschemes/RxBlocking.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Rx.xcodeproj/xcshareddata/xcschemes/RxCocoa.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Rx.xcodeproj/xcshareddata/xcschemes/RxRelay.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Rx.xcodeproj/xcshareddata/xcschemes/RxSwift.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Rx.xcodeproj/xcshareddata/xcschemes/RxTest.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion RxSwift/ObservableType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extension ObservableType {
/// Default implementation of converting `ObservableType` to `Observable`.
public func asObservable() -> Observable<Element> {
// temporary workaround
//return Observable.create(subscribe: self.subscribe)
// return Observable.create(subscribe: self.subscribe)
Observable.create { o in self.subscribe(o) }
}
}
2 changes: 1 addition & 1 deletion RxSwift/Observables/Amb.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ final private class AmbSink<Observer: ObserverType>: Sink<Observer> {
let subscription2 = SingleAssignmentDisposable()
let disposeAll = Disposables.create(subscription1, subscription2)

let forwardEvent = { (o: AmbObserverType, event: Event<Element>) -> Void in
let forwardEvent = { (_: AmbObserverType, event: Event<Element>) -> Void in
self.forwardOn(event)
if event.isStopEvent {
self.dispose()
Expand Down

0 comments on commit ea29235

Please sign in to comment.