Skip to content

Commit

Permalink
[CORRECTION] modify error comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglinhahaha authored Oct 25, 2024
1 parent 4c002e6 commit b7cb5ee
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 b7cb5ee

Please sign in to comment.