Fixed memory overwrite error related to virtual functions
Fixed memory overwrite error related to virtual functions

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core