Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 62e80e7a5a4094fb802195ec5c832df86b368f89..80442b4608673f7a470a175d7bde310ebd1bec29 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7541,7 +7541,7 @@ class SharedFunctionInfo: public HeapObject { |
// Printing support. |
struct SourceCodeOf { |
- SourceCodeOf(SharedFunctionInfo* v, int max = -1) |
+ explicit SourceCodeOf(SharedFunctionInfo* v, int max = -1) |
: value(v), max_length(max) {} |
const SharedFunctionInfo* value; |
int max_length; |
@@ -9745,7 +9745,8 @@ class ConsStringNullOp { |
class ConsStringIteratorOp { |
public: |
inline ConsStringIteratorOp() {} |
- inline ConsStringIteratorOp(ConsString* cons_string, int offset = 0) { |
+ inline explicit ConsStringIteratorOp(ConsString* cons_string, |
+ int offset = 0) { |
Reset(cons_string, offset); |
} |
inline void Reset(ConsString* cons_string, int offset = 0) { |