Clean image types

This commit is contained in:
James Grogan 2022-11-11 16:32:55 +00:00
parent e7683cd94e
commit c6d03f16d0
18 changed files with 169 additions and 107 deletions

View file

@ -108,9 +108,9 @@ void PngReader::logHeader()
std::cout << sstr.str() << std::endl;
}
std::unique_ptr<Image> PngReader::read()
std::unique_ptr<Image<unsigned char> > PngReader::read()
{
auto image = std::make_unique<Image>(5, 5);
auto image = std::make_unique<Image<unsigned char> >(5, 5);
mFile = std::make_unique<File>(mPath);
mFile->Open(true);