commit 23f6a12929c615a37f4d4cdacdb6e4b5b34f79bb
parent cd1d2d06af665f9548dde46902b90b5b07acbed9
Author: Dominik Schmidt <das1993@hotmail.com>
Date: Tue, 30 Jun 2015 22:25:49 +0200
Improve const-correctness.
Unfortunately, kxml doesn't seem to be that const-correct, since getChildren isn't const.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Fb2RSS.d b/Fb2RSS.d
@@ -182,15 +182,15 @@ struct Post{
return cont;
}
- @property string link(){
+ @property string link() const{
return "https://facebook.com"~href;
}
- @property string id(){
+ @property string id() const{
return link();
}
- @property string ISOTime(){
+ @property string ISOTime() const{
return time.toISOExtString();
}