mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-05-08 09:59:23 -05:00
changed return value to const &
This commit is contained in:
@@ -545,7 +545,7 @@ namespace Orm::Tiny::Concerns
|
||||
inline static void serializeDateOrDateTimeForAccessors(QVariant &value);
|
||||
|
||||
/*! Convert a AttributeItem QVector to the std::unordered_map with caching. */
|
||||
ModelAttributes
|
||||
const ModelAttributes &
|
||||
convertVectorToModelAttributes(const QVector<AttributeItem> &attributes) const;
|
||||
|
||||
/* Others */
|
||||
@@ -2662,7 +2662,7 @@ namespace Orm::Tiny::Concerns
|
||||
}
|
||||
|
||||
template<typename Derived, AllRelationsConcept ...AllRelations>
|
||||
ModelAttributes
|
||||
const ModelAttributes &
|
||||
HasAttributes<Derived, AllRelations...>::convertVectorToModelAttributes(
|
||||
const QVector<AttributeItem> &attributes) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user