Transition to C++23 (#11)
* enum field renaming * renderer cleanups * compiling for C++23 * version bump * fix build
This commit is contained in:
committed by
Maximilian Kueffner
parent
1ea83d9d11
commit
fec5c08aaa
@@ -46,7 +46,7 @@ class PixelariumCzi : public IPixelariumImage
|
||||
const libCZI::SubBlockStatistics& GetStatistics() const { return this->image_statistics_; }
|
||||
|
||||
public:
|
||||
const static ImageFileType type_{ImageFileType::CZI};
|
||||
const static ImageFileType type_{ImageFileType::kCzi};
|
||||
|
||||
private:
|
||||
std::unique_ptr<cv::Mat> SubblockToCvMat(int index);
|
||||
|
||||
@@ -32,7 +32,7 @@ class PixelariumJpg : public IPixelariumImage
|
||||
bool Empty() const noexcept override { return this->is_empty_; }
|
||||
|
||||
public:
|
||||
const static ImageFileType type_{ImageFileType::JPG};
|
||||
const static ImageFileType type_{ImageFileType::kJpg};
|
||||
|
||||
private:
|
||||
// this should be set by each image getter
|
||||
|
||||
@@ -32,7 +32,7 @@ class PixelariumPng : public IPixelariumImage
|
||||
bool Empty() const noexcept override { return this->is_empty_; }
|
||||
|
||||
public:
|
||||
const static ImageFileType type_{ImageFileType::PNG};
|
||||
const static ImageFileType type_{ImageFileType::kPng};
|
||||
|
||||
private:
|
||||
// this should be set by each image getter
|
||||
|
||||
Reference in New Issue
Block a user