summaryrefslogtreecommitdiffstats
path: root/runtime/gc/accounting/atomic_stack.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-02-27 12:29:32 -0800
committerBrian Carlstrom <bdc@google.com>2014-02-27 12:29:32 -0800
commita2806550cefb7c70781d8ee6279e6ad5769804cb (patch)
tree464c0dd8018379c65db92772644de5d426f2949d /runtime/gc/accounting/atomic_stack.h
parent95c2e440582f31f77a047797a5e2be4af53a8bfa (diff)
downloadart-a2806550cefb7c70781d8ee6279e6ad5769804cb.zip
art-a2806550cefb7c70781d8ee6279e6ad5769804cb.tar.gz
art-a2806550cefb7c70781d8ee6279e6ad5769804cb.tar.bz2
Remove some stray stringpiece.h includes
Bug: 13186058 Change-Id: I2cb313425864a5d4e988fcf71a99c60ad63c63fb
Diffstat (limited to 'runtime/gc/accounting/atomic_stack.h')
-rw-r--r--runtime/gc/accounting/atomic_stack.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/gc/accounting/atomic_stack.h b/runtime/gc/accounting/atomic_stack.h
index d6f3228..c79b586 100644
--- a/runtime/gc/accounting/atomic_stack.h
+++ b/runtime/gc/accounting/atomic_stack.h
@@ -17,6 +17,7 @@
#ifndef ART_RUNTIME_GC_ACCOUNTING_ATOMIC_STACK_H_
#define ART_RUNTIME_GC_ACCOUNTING_ATOMIC_STACK_H_
+#include <algorithm>
#include <string>
#include "atomic.h"
@@ -94,7 +95,8 @@ class AtomicStack {
if (kIsDebugBuild) {
// Sanity check that the memory is zero.
for (int32_t i = index; i < new_index; ++i) {
- DCHECK_EQ(begin_[i], static_cast<T>(0)) << "i=" << i << " index=" << index << " new_index=" << new_index;
+ DCHECK_EQ(begin_[i], static_cast<T>(0))
+ << "i=" << i << " index=" << index << " new_index=" << new_index;
}
}
return true;