From 9d04187ae3bfb63bd57916cd83dd643c6c8bf0bb Mon Sep 17 00:00:00 2001 From: Kenneth Geisshirt Date: Tue, 3 Oct 2017 01:05:42 +0200 Subject: [PATCH] Fixing Android builds --- src/js_realm.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js_realm.hpp b/src/js_realm.hpp index 672deaf7..a236d5de 100644 --- a/src/js_realm.hpp +++ b/src/js_realm.hpp @@ -277,7 +277,7 @@ public: } default: throw; - } + } } static std::string validated_notification_name(ContextType ctx, const ValueType &value) { @@ -1039,7 +1039,7 @@ void RealmClass::subscribe_to_objects(ContextType ctx, ObjectType this_object auto cb = [=](realm::Results results, std::exception_ptr err) { if (err) { try { - rethrow_exception(err); + std::rethrow_exception(err); } catch (const std::exception& e) { typename T::Value arguments[2];