mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
Xcode: Silence nullability warning
This commit is contained in:
parent
587bb79ff1
commit
96fefd0abd
1 changed files with 2 additions and 0 deletions
|
|
@ -493,10 +493,12 @@ private:
|
|||
if (error != nil)
|
||||
return nsStringToJuce (error.localizedDescription);
|
||||
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wnullable-to-nonnull-conversion")
|
||||
if (! [captureSession.get() canAddInput: input])
|
||||
return "Could not add input to camera session.";
|
||||
|
||||
[captureSession.get() addInput: input];
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue