Bug 1060982 - Fix more bad implicit constructors in the HTML parser; r=hsivonen
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user