diff --git a/contributors.txt b/contributors.txt index ffd3b9b2e..e2124b25d 100644 --- a/contributors.txt +++ b/contributors.txt @@ -179,3 +179,4 @@ YYYY/MM/DD, github id, Full name, email 2017/12/01, SebastianLng, Sebastian Lang, sebastian.lang@outlook.com 2017/12/03, oranoran, Oran Epelbaum, oran / epelbaum me 2017/12/27, jkmar, Jakub Marciniszyn, marciniszyn.jk@gmail.com +2018/01/29, EternalPhane, Zongyuan Zuo, eternalphane@gmail.com diff --git a/runtime/Cpp/runtime/src/support/Any.cpp b/runtime/Cpp/runtime/src/support/Any.cpp index 3dd1a94bf..b324cc15d 100644 --- a/runtime/Cpp/runtime/src/support/Any.cpp +++ b/runtime/Cpp/runtime/src/support/Any.cpp @@ -11,6 +11,3 @@ Any::~Any() { delete _ptr; } - -Any::Base::~Base() { -} diff --git a/runtime/Cpp/runtime/src/support/Any.h b/runtime/Cpp/runtime/src/support/Any.h index 0e72b5718..aa08ac0cc 100644 --- a/runtime/Cpp/runtime/src/support/Any.h +++ b/runtime/Cpp/runtime/src/support/Any.h @@ -105,7 +105,7 @@ private: struct Cloneable> : std::is_copy_constructible {}; struct Base { - virtual ~Base(); + virtual ~Base() {}; virtual Base* clone() const = 0; };