fix msvc compiler glitch
fix msvc compiler glitch

This change is needed for msvc compiler to produce valid code that initializes the session state classes correctly.
realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-core