Fix includes for constraints
Summary: Forward declare the needed struct and include in the correct file. Reviewers: ipaljak Reviewed By: ipaljak Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D2110
This commit is contained in:
parent
9d932797ab
commit
c9ba638b9f
@ -6,6 +6,7 @@
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include "durability/single_node/state_delta.hpp"
|
||||
#include "storage/common/constraints/exceptions.hpp"
|
||||
#include "storage/single_node/edge.hpp"
|
||||
#include "storage/single_node/edge_accessor.hpp"
|
||||
#include "storage/single_node/vertex.hpp"
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
#include "database/single_node/exceptions.hpp"
|
||||
#include "database/single_node/graph_db.hpp"
|
||||
#include "storage/common/constraints/exceptions.hpp"
|
||||
#include "storage/common/types/types.hpp"
|
||||
#include "storage/single_node/edge_accessor.hpp"
|
||||
#include "storage/single_node/vertex_accessor.hpp"
|
||||
@ -21,6 +20,10 @@
|
||||
#include "transactions/type.hpp"
|
||||
#include "utils/bound.hpp"
|
||||
|
||||
namespace storage::constraints {
|
||||
struct ConstraintEntry;
|
||||
} // namespace storage::constraints
|
||||
|
||||
namespace database {
|
||||
/**
|
||||
* Base accessor for the database object: exposes functions for operating on the
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <glog/logging.h>
|
||||
|
||||
#include "durability/single_node_ha/state_delta.hpp"
|
||||
#include "storage/common/constraints/exceptions.hpp"
|
||||
#include "storage/single_node_ha/edge.hpp"
|
||||
#include "storage/single_node_ha/edge_accessor.hpp"
|
||||
#include "storage/single_node_ha/vertex.hpp"
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
#include "database/single_node_ha/graph_db.hpp"
|
||||
#include "raft/raft_interface.hpp"
|
||||
#include "storage/common/constraints/exceptions.hpp"
|
||||
#include "storage/common/types/types.hpp"
|
||||
#include "storage/single_node_ha/edge_accessor.hpp"
|
||||
#include "storage/single_node_ha/vertex_accessor.hpp"
|
||||
@ -22,6 +21,10 @@
|
||||
#include "utils/bound.hpp"
|
||||
#include "utils/exceptions.hpp"
|
||||
|
||||
namespace storage::constraints {
|
||||
struct ConstraintEntry;
|
||||
} // namespace storage::constraints
|
||||
|
||||
namespace database {
|
||||
|
||||
/** Thrown when inserting in an index with constraint. */
|
||||
|
Loading…
Reference in New Issue
Block a user