Make a UserDefault destructor to be virtual.

Because the UserDefault has virtual functions and allow programmers to inherit from, it must have a virtual destructor to allow a child object to destroy correctly.
This commit is contained in:
Vladimir Timofeev 2015-05-01 11:45:47 +03:00
parent 254a4b0b0c
commit ad494a7131
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ public:
protected:
UserDefault();
~UserDefault();
virtual ~UserDefault();
private: