Avoid using integer / enum comparison, when it is possible to compare types directly with std::is_same.
Avoid using integer / enum comparison, when it is possible to compare types directly with std::is_same.

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