--- a/src/basics.h Wed Feb 17 03:24:07 2016 +0200 +++ b/src/basics.h Wed Feb 17 19:54:21 2016 +0200 @@ -85,6 +85,7 @@ } Q_DECLARE_METATYPE (Vertex) +uint qHash(const Vertex& key); // // A mathematical 3 x 3 matrix @@ -211,13 +212,6 @@ return (qAbs (a - floor(a)) < 0.00001) or (qAbs (a - ceil(a)) < 0.00001); } -template<typename T> -void removeDuplicates (T& a) -{ - std::sort (a.begin(), a.end()); - a.erase (std::unique (a.begin(), a.end()), a.end()); -} - // // Returns true if first arg is equal to any of the other args //