Skip to content

Commit

Permalink
Add mandatory format argument to tpritnf().
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Dec 19, 2024
1 parent 8cb0418 commit d95e9f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ccutil/tprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d95e9f7

Please sign in to comment.