Fixing Android builds

This commit is contained in:
Kenneth Geisshirt 2017-10-03 01:05:42 +02:00
parent 2e67a7fed3
commit 9d04187ae3

View File

@ -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];