Bug 1275965 - Fix a missing |explicit| keyword on a CLOSED TREE. r=me

This commit is contained in:
Dan Gohman 2016-05-26 17:15:56 -07:00
parent 605ca4cc77
commit cfd9ee05d2

View File

@ -48,7 +48,7 @@ class AstName
const char16_t* end_;
public:
template <size_t Length>
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'));
}