Fix ExcelFile warning

This commit is contained in:
2025-07-22 00:24:25 +02:00
parent 515455695b
commit c3c580a611

View File

@@ -54,10 +54,8 @@ namespace platform {
}
void ExcelFile::setProperties(std::string title)
{
char line[title.size() + 1];
strcpy(line, title.c_str());
lxw_doc_properties properties = {
.title = line,
.title = title.c_str(),
.subject = (char*)"Machine learning results",
.author = (char*)"Ricardo Montañana Gómez",
.manager = (char*)"Dr. J. A. Gámez, Dr. J. M. Puerta",