Fixing Android builds
This commit is contained in:
parent
2e67a7fed3
commit
9d04187ae3
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue