File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,4 @@ void ERRCODE::error( // handle error
8686 }
8787}
8888
89- void ERRCODE::error (const char *caller, TessErrorLogCode action) const {
90- error (caller, action, nullptr );
91- }
92-
9389} // namespace tesseract
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ class TESS_API ERRCODE { // error handler class
4343 TessErrorLogCode action, // action to take
4444 const char *format, ... // fprintf format
4545 ) const __attribute__((format(printf, 4 , 5 )));
46- void error (const char *caller, TessErrorLogCode action) const ;
46+ void error (const char *caller, TessErrorLogCode action) const {
47+ error (caller, action, nullptr );
48+ }
4749 constexpr ERRCODE (const char *string) : message(string) {} // initialize with string
4850};
4951
You can’t perform that action at this time.
0 commit comments