Skip to content

Commit

Permalink
[CORRECTION] modify error comment.
Browse files Browse the repository at this point in the history
(cherry picked from commit 66bf232)
  • Loading branch information
zhanglinhahaha authored and mergify[bot] committed Oct 25, 2024
1 parent d0119e3 commit f57e716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ constexpr std::array errList{
N_("Arithmetic operation overflow"), // kerArithmeticOverflow
N_("Memory allocation failed"), // kerMallocFailed
N_("Cannot convert text encoding from '%1' to '%2'"), // kerInvalidIconvEncoding
N_("%1: File access disabled in exiv2 build options"), // kerFileOpenFailed %1=path
N_("%1: File access disabled in exiv2 build options"), // kerFileAccessDisabled %1=path
};
static_assert(errList.size() == static_cast<size_t>(Exiv2::ErrorCode::kerErrorCount),
"errList needs to contain a error msg for every ErrorCode defined in error.hpp");
Expand Down

0 comments on commit f57e716

Please sign in to comment.