Bug 1276908 - Fix implicit conversion constructor error r=me on a CLOSED TREE
authorJon Coppeard <jcoppeard@mozilla.com>
Tue, 21 Jun 2016 16:47:42 +0100
changeset 302197 79328d1a536d966016ba5a3fd670e5d995f53056
parent 302196 0da5b65544ce4b2dfa6abb48d8147dd34c7d9b91
child 302210 5ac2f675c083d59ef6329d164cf92733ab344557
push id78646
push userjcoppeard@mozilla.com
push dateTue, 21 Jun 2016 15:47:57 +0000
treeherdermozilla-inbound@79328d1a536d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1276908
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1276908 - Fix implicit conversion constructor error r=me on a CLOSED TREE
js/src/gc/StoreBuffer.h
--- a/js/src/gc/StoreBuffer.h
+++ b/js/src/gc/StoreBuffer.h
@@ -444,17 +444,17 @@ class ArenaCellSet
 
     // Pointer to next set forming a linked list.
     ArenaCellSet* next;
 
     // Bit vector for each possible cell start position.
     BitArray<ArenaCellCount> bits;
 
   public:
-    ArenaCellSet(Arena* arena);
+    explicit ArenaCellSet(Arena* arena);
 
     bool hasCell(const TenuredCell* cell) const {
         return hasCell(getCellIndex(cell));
     }
 
     void putCell(const TenuredCell* cell) {
         putCell(getCellIndex(cell));
     }