20 lines
519 B
Diff
20 lines
519 B
Diff
Author: sgn@voidlinux
|
|
Reason: noexcept function must not throw
|
|
--- a/src/plugins/exiv2_extractor.cc
|
|
+++ b/src/plugins/exiv2_extractor.cc
|
|
@@ -601,13 +601,7 @@ std::string
|
|
ExtractorIO::path () const
|
|
#endif
|
|
{
|
|
-#if EXIV2_TEST_VERSION (0,28,0)
|
|
- throw Exiv2::Error (Exiv2::ErrorCode::kerDecodeLangAltQualifierFailed);
|
|
-#elif EXIV2_TEST_VERSION (0,27,0)
|
|
- throw Exiv2::BasicError<char> (Exiv2::kerDecodeLangAltQualifierFailed);
|
|
-#else
|
|
- throw Exiv2::BasicError<char> (42 /* error code */);
|
|
-#endif
|
|
+ return "";
|
|
}
|
|
|
|
|