Skip to content

Commit

Permalink
orm added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 5, 2024
1 parent b3bc0c7 commit 90a25a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/orm/tiny/concerns/hasrelationships.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace Concerns
// To access private serializeRelationVisited()
template<SerializedAttributes C, typename Derived_,
AllRelationsConcept ...AllRelations_>
friend class Support::Stores::SerializeRelationStore;
friend class Support::Stores::SerializeRelationStore; // Partial specialization doens't work with friend
// To access eagerLoadRelationWithVisitor()
friend class Tiny::Builder<Derived>;

Expand Down
4 changes: 2 additions & 2 deletions include/orm/tiny/concerns/queriesrelationships.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ namespace Private
{
// Used by QueriesRelationships::hasInternalVisited()
template<typename T>
friend class QueriesRelationships;
friend class QueriesRelationships; // Can't use full specialization as we need it for Related models

// To access private hasInternalVisited()
template<typename Derived, typename Related, AllRelationsConcept ...AllRelations>
friend class Support::Stores::QueriesRelationshipsStore;
friend class Support::Stores::QueriesRelationshipsStore; // Can't use full specialization

/*! Alias for the Expression. */
using Expression = Orm::Query::Expression;
Expand Down

0 comments on commit 90a25a9

Please sign in to comment.