diff --git a/include/orm/tiny/concerns/hasrelationships.hpp b/include/orm/tiny/concerns/hasrelationships.hpp index 10ca87e69..356ee0ef4 100644 --- a/include/orm/tiny/concerns/hasrelationships.hpp +++ b/include/orm/tiny/concerns/hasrelationships.hpp @@ -111,7 +111,7 @@ namespace Concerns #else const std::unordered_map> & #endif - getRelations() const; + getRelations() const noexcept; /*! Get all the loaded relations for the instance. */ inline #ifdef TINY_NO_INCOMPLETE_UNORDERED_MAP @@ -119,7 +119,7 @@ namespace Concerns #else std::unordered_map> & #endif - getRelations(); + getRelations() noexcept; /*! Unset all the loaded relations for the instance. */ Derived &unsetRelations(); @@ -508,7 +508,7 @@ namespace Concerns #else const std::unordered_map> & #endif - HasRelationships::getRelations() const + HasRelationships::getRelations() const noexcept { return m_relations; } @@ -519,7 +519,7 @@ namespace Concerns #else std::unordered_map> & #endif - HasRelationships::getRelations() + HasRelationships::getRelations() noexcept { return m_relations; }