diff options
author | trav90 <travawine@protonmail.ch> | 2018-08-10 15:04:21 -0500 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2018-08-10 15:04:21 -0500 |
commit | e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb (patch) | |
tree | 4f40e66e7ab2f26a45ab18955a36f2a338c25fae /dom/bindings/ErrorResult.h | |
parent | 9bda00c75e7602ce1d8390ba8c229114cf8c5983 (diff) | |
download | UXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.tar UXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.tar.gz UXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.tar.lz UXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.tar.xz UXP-e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb.zip |
Remove the const to fix the -Wignored-qualifiers warning with GCC 8
Diffstat (limited to 'dom/bindings/ErrorResult.h')
-rw-r--r-- | dom/bindings/ErrorResult.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/bindings/ErrorResult.h b/dom/bindings/ErrorResult.h index 7c3fc9e2f..da7ec30e7 100644 --- a/dom/bindings/ErrorResult.h +++ b/dom/bindings/ErrorResult.h @@ -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; } |