From e95c1ebcc1729b51b5328fd7ae507a5c0644c773 Mon Sep 17 00:00:00 2001 From: ksiminski Date: Thu, 28 Sep 2023 09:53:22 +0200 Subject: [PATCH] some minor fixes --- source/metrics/metric-euclidean.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/metrics/metric-euclidean.h b/source/metrics/metric-euclidean.h index f13731a..6034b85 100644 --- a/source/metrics/metric-euclidean.h +++ b/source/metrics/metric-euclidean.h @@ -27,7 +27,7 @@ namespace ksi /** Just calculates a distance :-) */ virtual double calculateDistance(const std::vector & l, const std::vector & p) const override; /** method for cloning an object */ - std::shared_ptr< ksi::metric > clone(); + std::shared_ptr< ksi::metric > clone() const; /** @return abbreviation of the metric @date 2021-02-01 */