УМНЫЕ УКАЗАТЕЛИ

This commit is contained in:
Евгений Титаренко 2024-04-20 00:03:12 +03:00
parent 7c83d9c93e
commit fcce9d93d4
7 changed files with 240 additions and 254 deletions

View file

@ -7,7 +7,7 @@ std::wstring_convert<std::codecvt_utf8<char16_t>, char16_t> conv_utf8_utf16;
Font readPSF(const std::string &filename) {
{
PSF2Header psf2Header;
PSF2Header psf2Header{};
std::ifstream ifs(filename, std::ios_base::binary);
if (!ifs.good()) {
throw std::runtime_error("File read error");
@ -80,8 +80,4 @@ Font::Font(uint32_t glyphsCount, uint32_t glyphWidth, uint32_t glyphHeight) {
this->glyphsCount = glyphsCount;
this->glyphWidth = glyphWidth;
this->glyphHeight = glyphHeight;
}
Font::Font() {
}
}