added missing nodiscard
This commit is contained in:
parent
53b10fd1f9
commit
7996608f62
|
|
@ -243,14 +243,14 @@ public:
|
|||
iterator find() { return basic_schema::find(typeid(Type)); }
|
||||
|
||||
template<typename Type>
|
||||
const_iterator find() const { return basic_schema::find(typeid(Type)); }
|
||||
[[nodiscard]] const_iterator find() const { return basic_schema::find(typeid(Type)); }
|
||||
|
||||
template < typename Type >
|
||||
[[nodiscard]] bool contains() const {
|
||||
return basic_schema::contains(std::type_index(typeid(Type)));
|
||||
}
|
||||
|
||||
const object::repository &repo() const { return repo_; }
|
||||
[[nodiscard]] const object::repository &repo() const { return repo_; }
|
||||
object::repository &repo() { return repo_; }
|
||||
|
||||
void dump(std::ostream &os) const;
|
||||
|
|
|
|||
Loading…
Reference in New Issue