Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 1516c302 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

LIB: Prefer to define the `operator==` for AbstractDocument in the anonymous...

LIB: Prefer to define the `operator==` for AbstractDocument in the anonymous namespace and not the Vivy namespace
parent 216ca375
Branches
Aucune étiquette associée trouvée
1 requête de fusion!18Implement the VivyDocument specification
#include "AbstractDocument.hh"
bool
Vivy::operator==(const AbstractDocument &a, const AbstractDocument &b) noexcept
operator==(const Vivy::AbstractDocument &a, const Vivy::AbstractDocument &b) noexcept
{
return a.getUuid() == b.getUuid();
}
......@@ -87,8 +87,8 @@ public:
signals:
void documentChanged();
};
bool operator==(const AbstractDocument &a, const AbstractDocument &b) noexcept;
}
bool operator==(const Vivy::AbstractDocument &a, const Vivy::AbstractDocument &b) noexcept;
#endif // VIVY_ABSTRACT_DOCUMENT_H
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter