diff --git a/cocos/base/CCUserDefault.h b/cocos/base/CCUserDefault.h index 052dbee5d7..740fbb127f 100644 --- a/cocos/base/CCUserDefault.h +++ b/cocos/base/CCUserDefault.h @@ -245,7 +245,7 @@ public: protected: UserDefault(); - ~UserDefault(); + virtual ~UserDefault(); private: