Browse Source

Workaround for VS warning

tags/2021-05-28
jules 6 years ago
parent
commit
e5f8937082
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      modules/juce_core/javascript/juce_JSON.cpp

+ 1
- 2
modules/juce_core/javascript/juce_JSON.cpp View File

@@ -38,7 +38,7 @@ struct JSONParser
Result getResult() const { return Result::fail (getDescription()); }
};
void throwError (juce::String message, String::CharPointerType location)
[[noreturn]] void throwError (juce::String message, String::CharPointerType location)
{
ErrorException e;
e.message = std::move (message);
@@ -182,7 +182,6 @@ struct JSONParser
}
throwError ("Syntax error", originalLocation);
return {};
}
var parseNumber (bool isNegative)


Loading…
Cancel
Save