aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ios7
diff options
context:
space:
mode:
authorVincent Bénony2015-12-06 12:28:55 +0100
committerVincent Bénony2016-01-06 16:17:33 +0100
commit873e38372b6a8ec76f19e45e8680a064e39b53d2 (patch)
tree8490176b6ef666a4f77da8d5bb8fc84f91365416 /backends/platform/ios7
parent67ffd4b2bd3498476a309ce7133d5c1fef616fa3 (diff)
downloadscummvm-rg350-873e38372b6a8ec76f19e45e8680a064e39b53d2.tar.gz
scummvm-rg350-873e38372b6a8ec76f19e45e8680a064e39b53d2.tar.bz2
scummvm-rg350-873e38372b6a8ec76f19e45e8680a064e39b53d2.zip
IOS: Removes new generic syntax to be able to compile with older clang toolchain
Diffstat (limited to 'backends/platform/ios7')
-rw-r--r--backends/platform/ios7/iphone_video.mm6
1 files changed, 3 insertions, 3 deletions
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<UITouch *> *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<UITouch *> *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<UITouch *> *allTouches = [event allTouches];
+ NSSet *allTouches = [event allTouches];
if (allTouches.count == 1) {
UITouch *touch = [allTouches anyObject];
CGPoint point = [touch locationInView:self];