Remove unnecessary copy, and make callback argument const in geolines

This commit is contained in:
AdenKoperczak 2025-03-17 09:39:01 -04:00
parent 087f6ef310
commit fea9083f7d
3 changed files with 8 additions and 8 deletions

View file

@ -19,7 +19,7 @@ struct GeoLineDrawItem;
class GeoLines : public DrawItem
{
public:
typedef std::function<void(std::shared_ptr<GeoLineDrawItem>&,
typedef std::function<void(const std::shared_ptr<GeoLineDrawItem>&,
const QPointF&)>
HoverCallback;