diff options
Diffstat (limited to 'runtime/gc_root.h')
-rw-r--r-- | runtime/gc_root.h | 1 |
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 { |