Index: runtime/vm/object_graph.h |
diff --git a/runtime/vm/object_graph.h b/runtime/vm/object_graph.h |
index e42e419ceec65cadcf34ef6276aa235458eff913..cae668a527c4fb550cacfa03703b73aaa3c10310 100644 |
--- a/runtime/vm/object_graph.h |
+++ b/runtime/vm/object_graph.h |
@@ -29,9 +29,10 @@ class ObjectGraph : public StackResource { |
bool MoveToParent(); |
// Offset into parent for the pointer to current object. -1 if no parent. |
intptr_t OffsetFromParentInWords() const; |
+ |
private: |
StackIterator(const Stack* stack, intptr_t index) |
- : stack_(stack), index_(index) { } |
+ : stack_(stack), index_(index) {} |
const Stack* stack_; |
intptr_t index_; |
friend class ObjectGraph::Stack; |
@@ -46,7 +47,7 @@ class ObjectGraph : public StackResource { |
kBacktrack, // Ignore this object's pointers. |
kAbort, // Terminate the entire search immediately. |
}; |
- virtual ~Visitor() { } |
+ virtual ~Visitor() {} |
// Visits the object pointed to by *it. The iterator is only valid |
// during this call. This method must not allocate from the heap or |
// trigger GC in any way. |