mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-05-07 17:19:37 -05:00
added noexcept to getters
This commit is contained in:
@@ -111,7 +111,7 @@ namespace Concerns
|
||||
#else
|
||||
const std::unordered_map<QString, RelationsType<AllRelations...>> &
|
||||
#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<QString, RelationsType<AllRelations...>> &
|
||||
#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<QString, RelationsType<AllRelations...>> &
|
||||
#endif
|
||||
HasRelationships<Derived, AllRelations...>::getRelations() const
|
||||
HasRelationships<Derived, AllRelations...>::getRelations() const noexcept
|
||||
{
|
||||
return m_relations;
|
||||
}
|
||||
@@ -519,7 +519,7 @@ namespace Concerns
|
||||
#else
|
||||
std::unordered_map<QString, RelationsType<AllRelations...>> &
|
||||
#endif
|
||||
HasRelationships<Derived, AllRelations...>::getRelations()
|
||||
HasRelationships<Derived, AllRelations...>::getRelations() noexcept
|
||||
{
|
||||
return m_relations;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user