diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2013-08-10 18:26:47 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2013-10-11 22:36:19 +1000 |
commit | b91fa19fe79d61f8f9b7fef6d54accbedb6dbc23 (patch) | |
tree | 5e4a7d6375776706e837ca2b2feb59c6906ee844 /libs/ardour/test/test_util.cc | |
parent | ee95f05fee7fb1a8eb644fdc098f390083c3b736 (diff) |
return bool in test util function to check writing xml to file is successful
Diffstat (limited to 'libs/ardour/test/test_util.cc')
-rw-r--r-- | libs/ardour/test/test_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/test/test_util.cc b/libs/ardour/test/test_util.cc index 1514012d97..220a57567c 100644 --- a/libs/ardour/test/test_util.cc +++ b/libs/ardour/test/test_util.cc @@ -60,12 +60,12 @@ check_xml (XMLNode* node, string ref_file, list<string> const & ignore_propertie check_nodes (p, q, ignore_properties); } -void +bool write_ref (XMLNode* node, string ref_file) { XMLTree ref; ref.set_root (node); - ref.write (ref_file); + return ref.write (ref_file); } class TestReceiver : public Receiver |