Skip to content

Commit d95e9f7

Browse files
committed
Add mandatory format argument to tpritnf().
1 parent 8cb0418 commit d95e9f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ccutil/tprintf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ TESS_API FILE *get_debugfp();
3333

3434
// Main logging function. Trace printf.
3535
template <typename ... Types>
36-
auto tprintf(Types && ... args) {
37-
return fprintf(get_debugfp(), std::forward<Types>(args)...);
36+
auto tprintf(const char *format, Types && ... args) {
37+
return fprintf(get_debugfp(), format, std::forward<Types>(args)...);
3838
}
3939

4040
} // namespace tesseract

0 commit comments

Comments
 (0)