Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 7a1bed3560289912a1e7c22b2ad994348cbdffa5..41d950f9b1c25d9554bbb4386d69022d12f767a5 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -1938,7 +1938,7 @@ class DescriptorLookupCache { |
class DisallowAllocationFailure { |
public: |
- DisallowAllocationFailure() { |
+ explicit DisallowAllocationFailure() { |
Vitaly Repeshko
2011/04/21 21:15:27
nit: "explicit" not required and remove extra spac
|
old_state_ = HEAP->disallow_allocation_failure_; |
HEAP->disallow_allocation_failure_ = true; |
} |