mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
Bug 1275965 - Fix a missing |explicit| keyword on a CLOSED TREE. r=me
This commit is contained in:
parent
605ca4cc77
commit
cfd9ee05d2
@ -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'));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user