From 504fdad16c79ff5f6d11a01d33d15432dcdfe34b Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Mon, 27 Jul 2015 21:16:24 -0400 Subject: [PATCH] Bug 1188209 - Fix more constructors in memory; r=njn --- memory/replace/logalloc/replay/Replay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory/replace/logalloc/replay/Replay.cpp b/memory/replace/logalloc/replay/Replay.cpp index a047d4152bf..56e283aad99 100644 --- a/memory/replace/logalloc/replay/Replay.cpp +++ b/memory/replace/logalloc/replay/Replay.cpp @@ -126,7 +126,7 @@ public: /* Constructor for string literals. */ template - Buffer(const char (&aStr)[Size]) + explicit Buffer(const char (&aStr)[Size]) : mBuf(aStr), mLength(Size - 1) {}