diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-03 12:36:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-03 12:36:45 +0100 |
| commit | 113187d5d1e7e5a079eb26f99b31e687d503cc07 (patch) | |
| tree | 7f09aeacd29348c2872056e44a7deeda35e60026 | |
| parent | ffbf3cf7f94eda1441e8a6f53c2fb32b3dc6ad08 (diff) | |
Ignore missing asset errors.
| -rw-r--r-- | test/rewrite_subs.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/rewrite_subs.cc b/test/rewrite_subs.cc index 3b177b21..0a2cd1ec 100644 --- a/test/rewrite_subs.cc +++ b/test/rewrite_subs.cc @@ -28,6 +28,7 @@ using std::cout; using std::cerr; using std::list; +using std::string; using boost::shared_ptr; using namespace dcp; @@ -41,7 +42,8 @@ main (int argc, char* argv[]) } DCP* dcp = new DCP (argv[1]); - dcp->read (); + list<string> errors; + dcp->read (true, &errors); list<shared_ptr<CPL> > cpls = dcp->cpls (); for (list<boost::shared_ptr<CPL> >::iterator i = cpls.begin(); i != cpls.end(); ++i) { |
