Transition to C++23 (#11)

* enum field renaming

* renderer cleanups

* compiling for C++23

* version bump

* fix build
This commit is contained in:
m-aXimilian
2025-10-07 12:18:00 +02:00
committed by Maximilian Kueffner
parent 1ea83d9d11
commit fec5c08aaa
15 changed files with 60 additions and 55 deletions
+4 -4
View File
@@ -13,18 +13,18 @@ constexpr pixelarium::imaging::ImageFileType ExtensionToType(const std::string&
if (lower_ext == ".jpg" || lower_ext == ".jpeg")
{
return pixelarium::imaging::ImageFileType::JPG;
return pixelarium::imaging::ImageFileType::kJpg;
}
if (lower_ext == ".png")
{
return pixelarium::imaging::ImageFileType::PNG;
return pixelarium::imaging::ImageFileType::kPng;
}
if (lower_ext == ".czi")
{
return pixelarium::imaging::ImageFileType::CZI;
return pixelarium::imaging::ImageFileType::kCzi;
}
return pixelarium::imaging::ImageFileType::UNKNOWN;
return pixelarium::imaging::ImageFileType::kUnknown;
}
/// @brief Factory for instantiating implementations of IPixelariumImage based on the given file type.