commit 78a38b5749091df3ce2b4118986413c5d56688ab
parent d2f557455d923afee3d64937784460376c552e32
Author: Dominik Schmidt <das1993@hotmail.com>
Date: Mon, 22 Feb 2016 23:21:45 +0100
Fix randomFortune.d example.
Adapt to changes from commit d9724293af943b481c6411ec33cad55ae87a0f25
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/randomFortune.d b/examples/randomFortune.d
@@ -9,6 +9,6 @@ int main(string args[]){
return 1;
}
f.add(args[1..$]);
- writeln(f.randomSample(1).front);
+ writeln(f.strings.randomSample(1).front);
return 0;
}