Bug 1188209 - Fix more constructors in memory; r=njn

This commit is contained in:
Ehsan Akhgari 2015-07-27 21:16:24 -04:00
parent d891bf7618
commit 9f218640bb

View File

@ -126,7 +126,7 @@ public:
/* Constructor for string literals. */
template <size_t Size>
Buffer(const char (&aStr)[Size])
explicit Buffer(const char (&aStr)[Size])
: mBuf(aStr), mLength(Size - 1)
{}