switch to a non-templated Dumper struct (#234)
switch to a non-templated Dumper struct merged-on-behalf-of: Basile-z <Basile-z@users.noreply.github.com>
This commit is contained in:
parent
8de1a45922
commit
e37c4daa7e
9 changed files with 68 additions and 80 deletions
|
@ -14,5 +14,5 @@ void main()
|
|||
writeln("The answer is ", root["Answer"].as!int);
|
||||
|
||||
//Dump the loaded document to output.yaml.
|
||||
dumper(File("output.yaml", "w").lockingTextWriter).dump(root);
|
||||
dumper().dump(File("output.yaml", "w").lockingTextWriter, root);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue