mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 15:03:45 +08:00
fix "cannot pass non-trivial object of type 'std::string'"
This commit is contained in:
parent
804b63646f
commit
0ef192050a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user