mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-07 09:52:40 +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.
|
||||
template <typename ... Types>
|
||||
auto tprintf(Types && ... args) {
|
||||
return fprintf(get_debugfp(), std::forward<Types>(args)...);
|
||||
auto tprintf(const char *format, Types && ... args) {
|
||||
return fprintf(get_debugfp(), format, std::forward<Types>(args)...);
|
||||
}
|
||||
|
||||
} // namespace tesseract
|
||||
|
Loading…
Reference in New Issue
Block a user