pr fixes
This commit is contained in:
parent
d07f82b3ec
commit
eb7f213c93
|
@ -46,9 +46,8 @@ T stot(const std::string s) {
|
||||||
#define precondition(condition, message) if (!__builtin_expect(condition, 1)) { throw std::runtime_error(message); }
|
#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
|
// FIXME: TrueExpression and FalseExpression should be supported by core in some way
|
||||||
class TrueExpression : public realm::Expression {
|
struct TrueExpression : realm::Expression {
|
||||||
public:
|
size_t find_first(size_t start, size_t end) const override
|
||||||
virtual size_t find_first(size_t start, size_t end) const
|
|
||||||
{
|
{
|
||||||
if (start != end)
|
if (start != end)
|
||||||
return start;
|
return start;
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#define REALM_RESULTS_HPP
|
#define REALM_RESULTS_HPP
|
||||||
|
|
||||||
#include "shared_realm.hpp"
|
#include "shared_realm.hpp"
|
||||||
|
#include "object_store.hpp"
|
||||||
#include "util/atomic_shared_ptr.hpp"
|
#include "util/atomic_shared_ptr.hpp"
|
||||||
|
|
||||||
#include <realm/table_view.hpp>
|
#include <realm/table_view.hpp>
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
|
||||||
|
|
||||||
namespace realm {
|
namespace realm {
|
||||||
class ObjectSchema;
|
class ObjectSchema;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef REALM_REALM_HPP
|
#ifndef REALM_REALM_HPP
|
||||||
#define REALM_REALM_HPP
|
#define REALM_REALM_HPP
|
||||||
|
|
||||||
#include "object_store.hpp"
|
#include "schema.hpp"
|
||||||
|
|
||||||
#include <realm/handover_defs.hpp>
|
#include <realm/handover_defs.hpp>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue