From cfd9ee05d29045b177bccd71941657d4b04acfbb Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 26 May 2016 17:15:56 -0700 Subject: [PATCH] Bug 1275965 - Fix a missing |explicit| keyword on a CLOSED TREE. r=me --- js/src/asmjs/WasmAST.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/asmjs/WasmAST.h b/js/src/asmjs/WasmAST.h index 3b21b357e077..9e3b7fe57e12 100644 --- a/js/src/asmjs/WasmAST.h +++ b/js/src/asmjs/WasmAST.h @@ -48,7 +48,7 @@ class AstName const char16_t* end_; public: template - AstName(const char16_t (&str)[Length]) : begin_(str), end_(str + Length - 1) { + explicit AstName(const char16_t (&str)[Length]) : begin_(str), end_(str + Length - 1) { MOZ_ASSERT(str[Length - 1] == MOZ_UTF16('\0')); }