Skip to content

Commit 5585ed8

Browse files
committed
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 <[email protected]>
1 parent a1f0c66 commit 5585ed8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ccstruct/ocrrow.h

+3
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ class ROW:public ELIST_LINK
144144
ROW& operator= (const ROW & source);
145145

146146
private:
147+
// Copy constructor (currently unused, therefore private).
148+
ROW(const ROW& source);
149+
147150
int32_t kerning; //inter char gap
148151
int32_t spacing; //inter word gap
149152
TBOX bound_box; //bounding box

0 commit comments

Comments
 (0)