This commit is contained in:
Ari Lazier 2016-03-03 16:49:06 -08:00
parent 87ee697f53
commit 987978fd4e
4 changed files with 4 additions and 5 deletions

View File

@ -46,9 +46,8 @@ T stot(const std::string s) {
#define precondition(condition, message) if (!__builtin_expect(condition, 1)) { throw std::runtime_error(message); }
// FIXME: TrueExpression and FalseExpression should be supported by core in some way
class TrueExpression : public realm::Expression {
public:
virtual size_t find_first(size_t start, size_t end) const
struct TrueExpression : realm::Expression {
size_t find_first(size_t start, size_t end) const override
{
if (start != end)
return start;

View File

@ -20,6 +20,7 @@
#define REALM_RESULTS_HPP
#include "shared_realm.hpp"
#include "object_store.hpp"
#include "util/atomic_shared_ptr.hpp"
#include <realm/table_view.hpp>

View File

@ -23,7 +23,6 @@
#include <string>
#include <vector>
#include <string>
namespace realm {
class ObjectSchema;

View File

@ -19,7 +19,7 @@
#ifndef REALM_REALM_HPP
#define REALM_REALM_HPP
#include "object_store.hpp"
#include "schema.hpp"
#include <realm/handover_defs.hpp>