summaryrefslogtreecommitdiff
path: root/tools/dcprecover.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-14 20:16:44 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-14 20:16:44 +0200
commit4d6c8aaf0167cde3bb63e9014604243bdc47b1a1 (patch)
tree13aae09fb07326febeb401930718692b45df2cff /tools/dcprecover.cc
parent314060f975dc9806f49ec8bbb1c11041a2ac111f (diff)
s/DCPReadError/ReadError/g
Diffstat (limited to 'tools/dcprecover.cc')
-rw-r--r--tools/dcprecover.cc6
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 (&notes, 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";
}
}