summaryrefslogtreecommitdiffstats
path: root/runtime/gc_root.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-04-03 21:28:42 -0700
committerAndreas Gampe <agampe@google.com>2015-04-06 14:03:17 -0700
commit758a801b66c134361a7b43f7e83f85d1fb800c4c (patch)
tree35b060c780fcf6e7c268fec47df40c74b5ab8b05 /runtime/gc_root.h
parente8aae00fa400efbb8f998a5dbf68eb42810889c1 (diff)
downloadart-758a801b66c134361a7b43f7e83f85d1fb800c4c.tar.gz
art-758a801b66c134361a7b43f7e83f85d1fb800c4c.tar.bz2
art-758a801b66c134361a7b43f7e83f85d1fb800c4c.zip
ART: Enable Clang's -Wdeprecated
Replace throw() with noexcept. Add default copy constructors and copy assignment constructors for cases with destructors, as the implicit definition is deprecated. Change-Id: Ice306a3f510b072b00bec4d4360f7c8055135c9d
Diffstat (limited to 'runtime/gc_root.h')
-rw-r--r--runtime/gc_root.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/gc_root.h b/runtime/gc_root.h
index 4164bbddc2..2f4da3f2ca 100644
--- a/runtime/gc_root.h
+++ b/runtime/gc_root.h
@@ -54,6 +54,7 @@ class RootInfo {
explicit RootInfo(RootType type, uint32_t thread_id = 0)
: type_(type), thread_id_(thread_id) {
}
+ RootInfo(const RootInfo&) = default;
virtual ~RootInfo() {
}
RootType GetType() const {