From: robertlipe Date: Mon, 10 Jun 2013 00:59:42 +0000 (+0000) Subject: Remove false const-ification from datetime overrides. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~565 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4bbad23252456d181635c4597a9c543d7ef75382;p=gpsbabel.git Remove false const-ification from datetime overrides. --- diff --git a/gpsbabel/src/core/datetime.h b/gpsbabel/src/core/datetime.h index 709da22d4..b7f8e1edf 100644 --- a/gpsbabel/src/core/datetime.h +++ b/gpsbabel/src/core/datetime.h @@ -57,17 +57,17 @@ public: return t; } - const time_t operator-- (int) { + time_t operator-- (int) { setTime_t(toTime_t() - 1); return this->toTime_t(); } - const time_t operator++ (int) { + time_t operator++ (int) { setTime_t(toTime_t() + 1); return this->toTime_t(); } - const time_t operator+=(const time_t&t) { + time_t operator+=(const time_t&t) { setTime_t(toTime_t() + t); return this->toTime_t(); }