diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-14 20:16:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-14 20:16:44 +0200 |
| commit | 4d6c8aaf0167cde3bb63e9014604243bdc47b1a1 (patch) | |
| tree | 13aae09fb07326febeb401930718692b45df2cff /tools/dcprecover.cc | |
| parent | 314060f975dc9806f49ec8bbb1c11041a2ac111f (diff) | |
s/DCPReadError/ReadError/g
Diffstat (limited to 'tools/dcprecover.cc')
| -rw-r--r-- | tools/dcprecover.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dcprecover.cc b/tools/dcprecover.cc index eb3b0d82..caf0e0fe 100644 --- a/tools/dcprecover.cc +++ b/tools/dcprecover.cc @@ -103,7 +103,7 @@ main (int argc, char* argv[]) list<dcp::VerificationNote> notes; try { dcp.read (¬es, true); - } catch (dcp::DCPReadError& e) { + } catch (dcp::ReadError& e) { cout << "Error:" << e.what() << "\n"; } @@ -118,7 +118,7 @@ main (int argc, char* argv[]) if (i->path().extension() == ".xml") { try { cpl.reset(new dcp::CPL(i->path())); - } catch (dcp::DCPReadError& e) { + } catch (dcp::ReadError& e) { cout << "Error: " << e.what() << "\n"; } catch (xmlpp::parse_error& e) { cout << "Error: " << e.what() << "\n"; @@ -145,7 +145,7 @@ main (int argc, char* argv[]) asset->hash (&progress); cout << "100% \n"; assets.push_back (asset); - } catch (dcp::DCPReadError& e) { + } catch (dcp::ReadError& e) { cout << "Error: " << e.what() << "\n"; } } |
