From d30061915e09bb4e67c2131ffd2adf986b22d9c6 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 15 Feb 2024 16:02:48 +0100 Subject: [PATCH] Minor: changed type of parameter 'start_parking_time' to non-const to be able to return value. --- library/include/mobilisis/calculate_price.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/include/mobilisis/calculate_price.h b/library/include/mobilisis/calculate_price.h index 17f1b2f..0681c73 100644 --- a/library/include/mobilisis/calculate_price.h +++ b/library/include/mobilisis/calculate_price.h @@ -171,7 +171,7 @@ CalcState CALCULATE_LIBRARY_API compute_price_for_parking_ticket( // depre CalcState CALCULATE_LIBRARY_API compute_price_for_parking_ticket( parking_tariff_t *tariff, - QDateTime const &start_parking_time, + QDateTime &start_parking_time, int netto_parking_time, QDateTime &end_parking_time, // return value struct price_t *price); // return value