Reviewers: Michael Achenbach,
Message:
Committed patchset #1 manually as 23061 (tree was closed).
Description:
Fix presubmit error.
No idea why they suddenly started to appear.
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=23061
Please review this at https://codereview.chromium.org/458743005/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+3, -2 lines):
M src/objects.h
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) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.