From 7827509a4a3ff927bd6adb5b971cc0449b7920d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 28 Oct 2016 00:48:49 +0200 Subject: [PATCH] Optimization --- src/graph.h | 2 ++ src/trackpoint.h | 2 ++ src/waypoint.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/graph.h b/src/graph.h index 44fe5f5e..ed9efa67 100644 --- a/src/graph.h +++ b/src/graph.h @@ -29,4 +29,6 @@ private: typedef QVector Graph; +Q_DECLARE_TYPEINFO(GraphPoint, Q_PRIMITIVE_TYPE); + #endif // GRAPH_H diff --git a/src/trackpoint.h b/src/trackpoint.h index aa8de9e0..9f9df632 100644 --- a/src/trackpoint.h +++ b/src/trackpoint.h @@ -46,4 +46,6 @@ private: QDebug operator<<(QDebug dbg, const Trackpoint &trackpoint); +Q_DECLARE_TYPEINFO(Trackpoint, Q_MOVABLE_TYPE); + #endif // TRACKPOINT_H diff --git a/src/waypoint.h b/src/waypoint.h index 80d90fda..8d545974 100644 --- a/src/waypoint.h +++ b/src/waypoint.h @@ -50,4 +50,6 @@ inline uint qHash(const Waypoint &key) QDebug operator<<(QDebug dbg, const Waypoint &Waypoint); +Q_DECLARE_TYPEINFO(Waypoint, Q_MOVABLE_TYPE); + #endif // WAYPOINT_H