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
+6 -6
View File
@@ -14,15 +14,15 @@ using ImageQueryFunctor = std::function<void(const std::string&, void*, int*)>;
enum class ImageFileType
{
/// @brief Represents an unknown or unsupported file type.
UNKNOWN = -10,
kUnknown = -10,
/// @brief Represents an abstract image type (e.g., a placeholder).
ABSTRACT = 0,
kAbstract = 0,
/// @brief Represents a PNG image file.
PNG = 1,
kPng = 1,
/// @brief Represents a JPG image file.
JPG = 2,
kJpg = 2,
/// @brief Represents a CZI image file.
CZI = 3,
kCzi = 3,
};
/// @brief An abstract interface to define a semantic query
@@ -83,7 +83,7 @@ class IPixelariumImage
}
public:
const static ImageFileType type_{ImageFileType::ABSTRACT};
const static ImageFileType type_{ImageFileType::kAbstract};
protected:
std::filesystem::path uri_;