From 162c9d5ea6f7572b881b6a9dff61b4d475b073fd Mon Sep 17 00:00:00 2001 From: Andrea Catalini Date: Mon, 18 Oct 2021 22:51:31 +0200 Subject: [PATCH] Update to latest core (#2679) Co-authored-by: Nikola Irinchev --- wrappers/realm-core | 2 +- wrappers/src/sync_user_cs.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wrappers/realm-core b/wrappers/realm-core index 58cca8c167..6a888aaa4f 160000 --- a/wrappers/realm-core +++ b/wrappers/realm-core @@ -1 +1 @@ -Subproject commit 58cca8c1679b1c18c48e1e284cdd6f17c93d422a +Subproject commit 6a888aaa4f9cb68b3a2e629d9abb28be7e3758cf diff --git a/wrappers/src/sync_user_cs.cpp b/wrappers/src/sync_user_cs.cpp index f34bb90c24..9e9bbe5d97 100644 --- a/wrappers/src/sync_user_cs.cpp +++ b/wrappers/src/sync_user_cs.cpp @@ -26,6 +26,8 @@ #include #include "app_cs.hpp" +#include + using namespace realm; using namespace realm::binding; using namespace app; @@ -228,7 +230,7 @@ extern "C" { REALM_EXPORT SharedApp* realm_syncuser_get_app(SharedSyncUser& user, NativeException::Marshallable& ex) { return handle_errors(ex, [&] { - // If the user is detached from the sync manager, we'll hit an assert, so this early check avoids that. + // If the user is detached from the sync manager, we'll hit an assert, so this early check avoids that. if (user->state() != SyncUser::State::Removed) { if (auto shared_app = user->sync_manager()->app().lock()) {