From 873e38372b6a8ec76f19e45e8680a064e39b53d2 Mon Sep 17 00:00:00 2001 From: Vincent Bénony Date: Sun, 6 Dec 2015 12:28:55 +0100 Subject: IOS: Removes new generic syntax to be able to compile with older clang toolchain --- backends/platform/ios7/iphone_video.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backends/platform/ios7') diff --git a/backends/platform/ios7/iphone_video.mm b/backends/platform/ios7/iphone_video.mm index efd8ea3acf..8470651794 100644 --- a/backends/platform/ios7/iphone_video.mm +++ b/backends/platform/ios7/iphone_video.mm @@ -714,7 +714,7 @@ const char *iPhone_getDocumentsDir() { - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { int x, y; - NSSet *allTouches = [event allTouches]; + NSSet *allTouches = [event allTouches]; if (allTouches.count == 1) { _firstTouch = [allTouches anyObject]; CGPoint point = [_firstTouch locationInView:self]; @@ -738,7 +738,7 @@ const char *iPhone_getDocumentsDir() { - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { int x, y; - NSSet *allTouches = [event allTouches]; + NSSet *allTouches = [event allTouches]; for (UITouch *touch in allTouches) { if (touch == _firstTouch) { CGPoint point = [touch locationInView:self]; @@ -759,7 +759,7 @@ const char *iPhone_getDocumentsDir() { - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { int x, y; - NSSet *allTouches = [event allTouches]; + NSSet *allTouches = [event allTouches]; if (allTouches.count == 1) { UITouch *touch = [allTouches anyObject]; CGPoint point = [touch locationInView:self]; -- cgit v1.2.3