--- a/src/types/vertex.h Mon Apr 02 10:59:38 2018 +0300 +++ b/src/types/vertex.h Mon Apr 02 13:21:15 2018 +0300 @@ -56,8 +56,8 @@ } Q_DECLARE_METATYPE(Vertex) +qreal distance(const Vertex& one, const Vertex& other); unsigned int qHash(const Vertex& key); +Vertex operator-(const Vertex& vertex); QDataStream& operator<<(QDataStream& out, const Vertex& vertex); QDataStream& operator>>(QDataStream& in, Vertex& vertex); - -qreal distance(const Vertex& one, const Vertex& other);