Replaced all hardcoded error codes with ker... constants

This commit is contained in:
Dan Čermák
2018-02-16 00:26:50 +01:00
parent d897997b29
commit efe2ccdcb6
80 changed files with 747 additions and 747 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ try {
FileIo file(path);
// Open the file in read mode
if (file.open("rb") != 0) {
throw Error(10, path, "rb", strError());
throw Error(kerFileOpenFailed, path, "rb", strError());
}
// Map it to memory
const Exiv2::byte* pData = file.mmap();