summaryrefslogtreecommitdiff
path: root/runtime/linear_alloc.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2015-05-03 22:26:22 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-05-03 22:26:23 +0000
commit8a30bf23bcb1ad8d4ed9060ddbb27edbfd57a897 (patch)
tree0b4093afe3f71d89b22f6ba927ad05946fb33910 /runtime/linear_alloc.h
parent25dcb2594a21a565ef82faa66a79bcf595c3a780 (diff)
parent3130cdf29eb203be0c38d1107a65d920ec39c106 (diff)
Merge "Add some more DISALLOW_COPY_AND_ASSIGN"
Diffstat (limited to 'runtime/linear_alloc.h')
-rw-r--r--runtime/linear_alloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/linear_alloc.h b/runtime/linear_alloc.h
index 6d8eda6499..fcabcc803e 100644
--- a/runtime/linear_alloc.h
+++ b/runtime/linear_alloc.h
@@ -42,6 +42,8 @@ class LinearAlloc {
private:
mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
ArenaAllocator allocator_ GUARDED_BY(lock_);
+
+ DISALLOW_IMPLICIT_CONSTRUCTORS(LinearAlloc);
};
} // namespace art