Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
Compiler warning on macOS:

    tesscallback.h:29:7: warning:
      'TessClosure' has no out-of-line virtual method definitions;
      its vtable will be emitted in every translation unit [-Wweak-vtables]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Oct 23, 2018
1 parent e60318f commit eefb834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ccutil/tesscallback.h
Expand Up @@ -28,7 +28,7 @@ struct TessCallbackUtils_ {

class TessClosure {
public:
virtual ~TessClosure() { }
virtual ~TessClosure();
virtual void Run() = 0;
};

Expand Down

0 comments on commit eefb834

Please sign in to comment.