Fix for object store build issues on Android
This commit is contained in:
parent
91c87e4de6
commit
7bb8a04359
|
@ -19,8 +19,8 @@
|
|||
#include "impl/external_commit_helper.hpp"
|
||||
#include "impl/realm_coordinator.hpp"
|
||||
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sstream>
|
||||
#include <sys/epoll.h>
|
||||
|
@ -36,9 +36,6 @@
|
|||
#define ANDROID_LOG(...)
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <sstream>
|
||||
|
||||
using namespace realm;
|
||||
using namespace realm::_impl;
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "impl/weak_realm_notifier.hpp"
|
||||
#include "shared_realm.hpp"
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <android/log.h>
|
||||
|
|
|
@ -132,6 +132,8 @@ namespace realm {
|
|||
// Realm after closing it will produce undefined behavior.
|
||||
void close();
|
||||
|
||||
bool is_closed() { return m_shared_group == nullptr; }
|
||||
|
||||
~Realm();
|
||||
|
||||
void init(std::shared_ptr<_impl::RealmCoordinator> coordinator);
|
||||
|
|
Loading…
Reference in New Issue