DRSS

Ugly RSS interface for D.
git clone git://xatko.vsos.ethz.ch/DRSS.git
Log | Files | Refs | Submodules

commit 3cb58ac6ab49bd8bce1309e7036ce56973728ba8
parent 5ee3b977cc7c5556f5b6807683af09afab2d9b73
Author: Dominik Schmidt <das1993@hotmail.com>
Date:   Tue,  4 Aug 2015 13:30:10 +0200

Make opCmp const.

Diffstat:
drss/rss.d | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drss/rss.d b/drss/rss.d @@ -17,10 +17,10 @@ struct Entry{ string id; string content; SysTime date; - int opCmp(inout ref Entry b){ + int opCmp(inout ref Entry b) const{ return date.opCmp(b.date); } - int opCmp(inout Entry b){ + int opCmp(inout Entry b) const{ return date.opCmp(b.date); } XmlNode toXML(){