1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Workaround for VS warning

This commit is contained in:
jules 2019-07-12 17:09:42 +01:00
parent 002dc803a1
commit e5f8937082

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)