Skip to content

Commit

Permalink
IOS: Removes new generic syntax to be able to compile with older clan…
Browse files Browse the repository at this point in the history
…g toolchain
  • Loading branch information
Vincent Bénony committed Jan 6, 2016
1 parent 67ffd4b commit 873e383
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backends/platform/ios7/iphone_video.mm
Expand Up @@ -714,7 +714,7 @@ - (UITouch *)secondTouchOtherTouchThan:(UITouch *)touch in:(NSSet *)set {
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
int x, y;

NSSet<UITouch *> *allTouches = [event allTouches];
NSSet *allTouches = [event allTouches];
if (allTouches.count == 1) {
_firstTouch = [allTouches anyObject];
CGPoint point = [_firstTouch locationInView:self];
Expand All @@ -738,7 +738,7 @@ - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
int x, y;

NSSet<UITouch *> *allTouches = [event allTouches];
NSSet *allTouches = [event allTouches];
for (UITouch *touch in allTouches) {
if (touch == _firstTouch) {
CGPoint point = [touch locationInView:self];
Expand All @@ -759,7 +759,7 @@ - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
int x, y;

NSSet<UITouch *> *allTouches = [event allTouches];
NSSet *allTouches = [event allTouches];
if (allTouches.count == 1) {
UITouch *touch = [allTouches anyObject];
CGPoint point = [touch locationInView:self];
Expand Down

0 comments on commit 873e383

Please sign in to comment.