aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf')
-rw-r--r--libqpdf/MD5.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/MD5.cc b/libqpdf/MD5.cc
index 0504e2d4..275567da 100644
--- a/libqpdf/MD5.cc
+++ b/libqpdf/MD5.cc
@@ -421,7 +421,7 @@ MD5::checkFileChecksum(char const* const checksum,
std::string actual_checksum = getFileChecksum(filename, up_to_size);
result = (checksum == actual_checksum);
}
- catch (std::runtime_error)
+ catch (std::runtime_error const&)
{
// Ignore -- return false
}