Remove the const to fix the -Wignored-qualifiers warning with GCC 8

This commit is contained in:
trav90 2018-08-10 15:04:21 -05:00 committed by Roy Tam
commit a52bf9e82b
4 changed files with 5 additions and 5 deletions

View file

@ -75,7 +75,7 @@ template<typename... Ts>
inline bool
ThrowErrorMessage(JSContext* aCx, const ErrNum aErrorNumber, Ts&&... aArgs)
{
binding_detail::ThrowErrorMessage(aCx, static_cast<const unsigned>(aErrorNumber),
binding_detail::ThrowErrorMessage(aCx, static_cast<unsigned>(aErrorNumber),
mozilla::Forward<Ts>(aArgs)...);
return false;
}