summaryrefslogtreecommitdiffstats
path: root/dom/bindings/ErrorResult.h
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-08-10 15:04:21 -0500
committertrav90 <travawine@protonmail.ch>2018-08-10 15:04:21 -0500
commite7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb (patch)
tree4f40e66e7ab2f26a45ab18955a36f2a338c25fae /dom/bindings/ErrorResult.h
parent9bda00c75e7602ce1d8390ba8c229114cf8c5983 (diff)
downloadUXP-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.h2
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;
}