summaryrefslogtreecommitdiff
path: root/runtime/atomic_integer.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/atomic_integer.h')
-rw-r--r--runtime/atomic_integer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/atomic_integer.h b/runtime/atomic_integer.h
index 117e837bdb..6711722672 100644
--- a/runtime/atomic_integer.h
+++ b/runtime/atomic_integer.h
@@ -70,10 +70,11 @@ class AtomicInteger {
bool success = android_atomic_cas(expected_value, new_value, &value_) == 0;
return success;
}
+
private:
volatile int32_t value_;
};
-}
+} // namespace art
#endif // ART_RUNTIME_ATOMIC_INTEGER_H_