commit f8130b7c677fe6b87320306601485d953d65199c
parent d3ee556e82bee78a71050948308a68376e1c69f8
Author: Dominik Schmidt <dominik@schm1dt.ch>
Date: Wed, 12 Dec 2018 15:44:20 +0100
Use the proper d-style array notation
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Fb2RSS.d b/Fb2RSS.d
@@ -1,7 +1,7 @@
import std.stdio;
import fbstream;
-void main(string args[]){
+void main(string[] args){
FBStream str=new FBStream(args[1]);
str.update();
str.writeRSS(stdout);
diff --git a/fbstream.d b/fbstream.d
@@ -75,7 +75,7 @@ class FBStream : DRSS!(Post){
///The plaintext string holding the whole file
char[] document;
- DRSS_Header headers[]=[Tuple!(string,string)("url",null),Tuple!(string,string)("title",null)];
+ DRSS_Header[] headers=[Tuple!(string,string)("url",null),Tuple!(string,string)("title",null)];
/**
* The useragent to use for requesting the page with facebook.