diff --git a/src/api/baseapi.h b/src/api/baseapi.h index efdefd15..53dde4d6 100644 --- a/src/api/baseapi.h +++ b/src/api/baseapi.h @@ -92,6 +92,9 @@ class TESS_API TessBaseAPI { public: 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.