summaryrefslogtreecommitdiffstats
path: root/dcoprss/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'dcoprss/cache.h')
-rw-r--r--dcoprss/cache.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/dcoprss/cache.h b/dcoprss/cache.h
index 3bf73e12..f17a11f3 100644
--- a/dcoprss/cache.h
+++ b/dcoprss/cache.h
@@ -74,12 +74,16 @@ class Cache : public TQDict<CacheEntry>
inline TQDataStream &operator<<( TQDataStream &s, const CacheEntry &e )
{
- return s << e.timeStamp() << e.result();
+ s << e.timeStamp();
+ s << e.result();
+ return s;
}
inline TQDataStream &operator>>( TQDataStream &s, CacheEntry &e )
{
- return s >> e.m_timeStamp >> e.m_result;
+ s >> e.m_timeStamp;
+ s >> e.m_result;
+ return s;
}
#endif // CACHE_H