move dedup to most derived

Making virtual calls from a base class dtor is not safe.
This commit is contained in:
Michael Davidsaver
2019-10-11 16:17:25 -07:00
parent 8a82ff9fe4
commit 95d452870c
2 changed files with 42 additions and 10 deletions
+1
View File
@@ -371,6 +371,7 @@ protected:
* @param type The field type.
*/
Field(Type type);
void cacheCleanup();
private:
const Type m_fieldType;
unsigned int m_hash;