fix "cannot pass non-trivial object of type 'std::string'"

This commit is contained in:
zdenop 2023-01-08 19:13:48 +01:00
parent 804b63646f
commit 0ef192050a

View File

@ -239,7 +239,7 @@ int CombineLangModel(const UNICHARSET &unicharset, const std::string &script_dir
tprintf("Error writing output traineddata file!!\n");
return EXIT_FAILURE;
}
tprintf("Created %s/%s/%s.traineddata", output_dir, lang, lang);
tprintf("Created %s/%s/%s.traineddata", output_dir.c_str(), lang.c_str(), lang.c_str());
return EXIT_SUCCESS;
}