From 6a781f0d3baddc38025847a40613863c6071c30d Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 18 Jan 2024 14:37:13 +0100 Subject: [PATCH] Minor: add debug output --- library/include/mobilisis/tariff_timebase.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/include/mobilisis/tariff_timebase.h b/library/include/mobilisis/tariff_timebase.h index 55b73a8..5c417a6 100644 --- a/library/include/mobilisis/tariff_timebase.h +++ b/library/include/mobilisis/tariff_timebase.h @@ -9,6 +9,7 @@ struct ATBTimeBase { enum class TimeBaseType {ABSOLUTE=0, RELATIVE=1}; ATBTimeBase() = default; + int tbase_id; TimeBaseType tbase_type; QString tbase_label; @@ -18,6 +19,7 @@ struct ATBTimeBase { switch(timeBase.tbase_type) { case ATBTimeBase::TimeBaseType::ABSOLUTE: debug.nospace() + << " tbase_id: " << timeBase.tbase_id << "\n" << " tbase_type: " << "TimeBaseType::ABSOLUTE" << "\n" << "tbase_label: " << timeBase.tbase_label << "\n"; break;