Fixed build
This commit is contained in:
@@ -67,9 +67,12 @@ namespace lms::scanner
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
std::unique_ptr<image::IRawImage> rawImage{ image::decodeImage(_file) };
|
std::unique_ptr<image::IRawImage> rawImage{ image::decodeImage(_file) };
|
||||||
ImageInfo& imageInfo{ _parsedImageInfo.emplace() };
|
|
||||||
|
ImageInfo imageInfo;
|
||||||
imageInfo.width = rawImage->getWidth();
|
imageInfo.width = rawImage->getWidth();
|
||||||
imageInfo.height = rawImage->getHeight();
|
imageInfo.height = rawImage->getHeight();
|
||||||
|
|
||||||
|
_parsedImageInfo = imageInfo;
|
||||||
}
|
}
|
||||||
catch (const image::Exception& e)
|
catch (const image::Exception& e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user