diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-03 15:05:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-03 15:05:33 +0100 |
| commit | fe9bbdf3f5223ee94cb51ba00ddab7f4a6ddb754 (patch) | |
| tree | 1d7ff4b95d3a65989c3cb136ae338e59ca5251b1 /test | |
| parent | 9f5a1507380c52338765477da7cbe378b68870d9 (diff) | |
Use exceptions to hold errors even in the keep_going case.
Diffstat (limited to 'test')
| -rw-r--r-- | test/rewrite_subs.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rewrite_subs.cc b/test/rewrite_subs.cc index 0a2cd1ec..553c6291 100644 --- a/test/rewrite_subs.cc +++ b/test/rewrite_subs.cc @@ -42,8 +42,7 @@ main (int argc, char* argv[]) } DCP* dcp = new DCP (argv[1]); - list<string> errors; - dcp->read (true, &errors); + dcp->read (true); list<shared_ptr<CPL> > cpls = dcp->cpls (); for (list<boost::shared_ptr<CPL> >::iterator i = cpls.begin(); i != cpls.end(); ++i) { |
