Fixing Android builds

This commit is contained in:
Kenneth Geisshirt 2017-10-03 01:05:42 +02:00
parent 2e67a7fed3
commit 9d04187ae3
1 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,7 @@ public:
} }
default: default:
throw; throw;
} }
} }
static std::string validated_notification_name(ContextType ctx, const ValueType &value) { static std::string validated_notification_name(ContextType ctx, const ValueType &value) {
@ -1039,7 +1039,7 @@ void RealmClass<T>::subscribe_to_objects(ContextType ctx, ObjectType this_object
auto cb = [=](realm::Results results, std::exception_ptr err) { auto cb = [=](realm::Results results, std::exception_ptr err) {
if (err) { if (err) {
try { try {
rethrow_exception(err); std::rethrow_exception(err);
} }
catch (const std::exception& e) { catch (const std::exception& e) {
typename T::Value arguments[2]; typename T::Value arguments[2];