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 327287 79328d1a536d966016ba5a3fd670e5d995f53056
parent 327286 0da5b65544ce4b2dfa6abb48d8147dd34c7d9b91
child 327288 5ac2f675c083d59ef6329d164cf92733ab344557
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1276908
milestone50.0a1
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));
     }