mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 06:53:36 +08:00
Delete copy constructor and assignment operator for TessBaseAPI (fix issue #874)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
e3441f0ced
commit
4bbfabaa67
@ -92,6 +92,9 @@ class TESS_API TessBaseAPI {
|
|||||||
public:
|
public:
|
||||||
TessBaseAPI();
|
TessBaseAPI();
|
||||||
virtual ~TessBaseAPI();
|
virtual ~TessBaseAPI();
|
||||||
|
// Copy constructor and assignment operator are currently unsupported.
|
||||||
|
TessBaseAPI(TessBaseAPI const&) = delete;
|
||||||
|
TessBaseAPI& operator=(TessBaseAPI const&) = delete;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the version identifier as a static string. Do not delete.
|
* Returns the version identifier as a static string. Do not delete.
|
||||||
|
Loading…
Reference in New Issue
Block a user