Browse Source

Avoided a couple of warnings in iOS builds with older SDKs

tags/2021-05-28
jules 9 years ago
parent
commit
82224d7442
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm

+ 2
- 0
modules/juce_gui_basics/native/juce_ios_UIViewComponentPeer.mm View File

@@ -787,6 +787,7 @@ static float getMaximumTouchForce (UITouch* touch) noexcept
return (float) touch.maximumPossibleForce;
#endif
ignoreUnused (touch);
return 0.0f;
}
@@ -797,6 +798,7 @@ static float getTouchForce (UITouch* touch) noexcept
return (float) touch.force;
#endif
ignoreUnused (touch);
return 0.0f;
}


Loading…
Cancel
Save