diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-25 11:23:07 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-25 11:23:07 +0000 |
| commit | 6b8fdf76aa221f037140bbf0ee1aa835df60778f (patch) | |
| tree | 7798c30001a4fea8af5ba9e19c9ad5fd62d6ce17 /test | |
| parent | 331045156161a30ee74e734c7c14dd602ebbbbc9 (diff) | |
Remove a possibly dodgy use of fstream.
Diffstat (limited to 'test')
| -rw-r--r-- | test/subs_in_out.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/subs_in_out.cc b/test/subs_in_out.cc index 209602e5..f0a7e96f 100644 --- a/test/subs_in_out.cc +++ b/test/subs_in_out.cc @@ -12,6 +12,6 @@ int main (int argc, char* argv[]) libdcp::SubtitleAsset s ("foo", "bar", "baz"); s.read_xml (argv[1]); - s.write_xml (cout); + cout << s.xml_as_string (); return 0; } |
