From 69f08baaa4b70ce32a258f3da43cf12f2a034696 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Fri, 11 Apr 2014 12:28:11 +0100 Subject: Clean up ScopedArenaAllocatorAdapter. Make the adapter equality-comparable, define aliases for containers using the adapter and use those aliases. Fix DebugStackIndirectTopRefImpl assignment. Change-Id: I689aa8a93d169f63a659dec5040567d7b1343277 --- compiler/utils/debug_stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/utils/debug_stack.h') diff --git a/compiler/utils/debug_stack.h b/compiler/utils/debug_stack.h index 2e02b438b9..1bb0624187 100644 --- a/compiler/utils/debug_stack.h +++ b/compiler/utils/debug_stack.h @@ -118,7 +118,7 @@ class DebugStackIndirectTopRefImpl { CheckTop(); } DebugStackIndirectTopRefImpl& operator=(const DebugStackIndirectTopRefImpl& other) { - CHECK(ref_ == other->ref_); + CHECK(ref_ == other.ref_); CheckTop(); return *this; } -- cgit v1.2.3-59-g8ed1b