diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-16 20:03:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-16 20:03:58 +0100 |
| commit | 5af212137eab93ed4503eeb8e712f01838e50c92 (patch) | |
| tree | 627343cdc413a31efc59ce53c6196e6cc1d26c38 /tools/dcpdiff.cc | |
| parent | eb68e2a85f132cc2e75547a71484254fba17c4ac (diff) | |
Missing read() calls in dcpdiff.
Diffstat (limited to 'tools/dcpdiff.cc')
| -rw-r--r-- | tools/dcpdiff.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc index 0b6ffd92..6141b8ff 100644 --- a/tools/dcpdiff.cc +++ b/tools/dcpdiff.cc @@ -79,6 +79,7 @@ main (int argc, char* argv[]) DCP* a = 0; try { a = new DCP (argv[optind]); + a->read (); } catch (FileError& e) { cerr << "Could not read DCP " << argv[optind] << "; " << e.what() << " " << e.filename() << "\n"; exit (EXIT_FAILURE); @@ -87,6 +88,7 @@ main (int argc, char* argv[]) DCP* b = 0; try { b = new DCP (argv[optind + 1]); + b->read (); } catch (FileError& e) { cerr << "Could not read DCP " << argv[optind + 1] << "; " << e.what() << " " << e.filename() << "\n"; exit (EXIT_FAILURE); |
