mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-11 12:43:17 +08:00
Add mandatory format argument to tpritnf().
This commit is contained in:
parent
8cb04183c1
commit
d95e9f7905
@ -33,8 +33,8 @@ TESS_API FILE *get_debugfp();
|
|||||||
|
|
||||||
// Main logging function. Trace printf.
|
// Main logging function. Trace printf.
|
||||||
template <typename ... Types>
|
template <typename ... Types>
|
||||||
auto tprintf(Types && ... args) {
|
auto tprintf(const char *format, Types && ... args) {
|
||||||
return fprintf(get_debugfp(), std::forward<Types>(args)...);
|
return fprintf(get_debugfp(), format, std::forward<Types>(args)...);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace tesseract
|
} // namespace tesseract
|
||||||
|
Loading…
Reference in New Issue
Block a user