Updated to const

This commit is contained in:
CommanderRedYT
2021-12-09 11:07:50 +01:00
committed by GitHub
parent 67027c7021
commit ae6e7fb72a

View File

@ -13,7 +13,7 @@ struct Icon
static constexpr auto HEIGHT=height; static constexpr auto HEIGHT=height;
const unsigned short buffer[width*height]; const unsigned short buffer[width*height];
std::optional<std::string> name{std::nullopt}; const char * const name{};
}; };
} // namespace espgui } // namespace espgui