From 5585ed8d8540370fb5526b6cbeb4af1485f6e2ce Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 18 Oct 2018 15:31:10 +0200 Subject: [PATCH] ROW: Add declaration for copy constructor It does not need an implementation as it is currently not used. This fixes a warning from LGTM: No matching copy constructor in class ROW. It is good practice to match a copy assignment operator with a copy constructor. Signed-off-by: Stefan Weil --- src/ccstruct/ocrrow.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ccstruct/ocrrow.h b/src/ccstruct/ocrrow.h index 878f3a0e35..3ab22c3644 100644 --- a/src/ccstruct/ocrrow.h +++ b/src/ccstruct/ocrrow.h @@ -144,6 +144,9 @@ class ROW:public ELIST_LINK ROW& operator= (const ROW & source); private: + // Copy constructor (currently unused, therefore private). + ROW(const ROW& source); + int32_t kerning; //inter char gap int32_t spacing; //inter word gap TBOX bound_box; //bounding box