Bug 1060982 - Fix more bad implicit constructors in the HTML parser; r=hsivonen

This commit is contained in:
Ehsan Akhgari
2014-09-01 18:04:20 -04:00
parent 0bbb1df5e1
commit 1a06ad4b0d
6 changed files with 10 additions and 9 deletions

View File

@@ -23,6 +23,7 @@
#ifndef jArray_h
#define jArray_h
#include "mozilla/Attributes.h"
#include "mozilla/NullPtr.h"
#include "nsDebug.h"
@@ -77,7 +78,7 @@ class autoJArray {
, length(0)
{
}
autoJArray(const jArray<T,L>& other)
MOZ_IMPLICIT autoJArray(const jArray<T,L>& other)
: arr(other.arr)
, length(other.length)
{