diff options
Diffstat (limited to 'src/image.cpp')
-rw-r--r-- | src/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.cpp b/src/image.cpp index 786c4ba..d73e86e 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -25,8 +25,8 @@ ImageResult JpegImage::output() const ImageOutput image{}; fud::CBinaryFile inFile{m_filename, fud::CFileMode::ReadOnly}; auto fileResult = inFile.open(); - using fud::FileStatus; - if (fileResult == FileStatus::Error) { + using fud::FudStatus; + if (fileResult == FudStatus::Failure) { spdlog::error("can't open {}\n", m_filename.c_str()); return err(ImageError::FileError); } |