fixed restriction and constraint class to use size_t
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
||||
|
||||
[[nodiscard]] bool has_constraints() const;
|
||||
[[nodiscard]] size_t constraint_count() const;
|
||||
[[nodiscard]] const std::vector<restriction>& constraints() const;
|
||||
[[nodiscard]] const std::list<restriction>& constraints() const;
|
||||
|
||||
friend std::ostream& operator<<(std::ostream& os, const object& obj);
|
||||
|
||||
@@ -50,7 +50,7 @@ private:
|
||||
|
||||
utils::identifier pk_identifier_;
|
||||
std::vector<attribute> attributes_;
|
||||
std::vector<restriction> constraints_;
|
||||
std::list<restriction> constraints_;
|
||||
};
|
||||
}
|
||||
#endif //MATADOR_OBJECT_HPP
|
||||
Reference in New Issue
Block a user