From 54a4d0ab8d6ae4027081b4a752d04f578cb4165c Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Tue, 18 Nov 2008 08:51:37 +0000 Subject: [PATCH] libasyncio: (tomj) add missing return values in AsyncIo::Utils::MilliTime --- utils/asyncio_time_tools.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/utils/asyncio_time_tools.cpp b/utils/asyncio_time_tools.cpp index a89a24c..81e2315 100644 --- a/utils/asyncio_time_tools.cpp +++ b/utils/asyncio_time_tools.cpp @@ -167,6 +167,7 @@ MilliTime& MilliTime::operator -= (const MilliTime& lhs) { mt_sec -= lhs.mt_sec; mt_msec -= lhs.mt_msec; + return *this; } // eo operator -= @@ -179,6 +180,7 @@ MilliTime& MilliTime::operator += (const MilliTime& lhs) { mt_sec += lhs.mt_sec; mt_msec += lhs.mt_msec; + return *this; } // eo operator += -- 1.7.1