Skip to content

Commit

Permalink
C_OUTLINE_FRAG: Add declaration for copy constructor
Browse files Browse the repository at this point in the history
It does not need an implementation as it is currently not used.

This fixes a warning from LGTM:

    No matching copy constructor in class C_OUTLINE_FRAG.
    It is good practice to match a copy assignment operator
    with a copy constructor.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Oct 18, 2018
1 parent 5585ed8 commit e3658bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/textord/fpchop.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ class C_OUTLINE_FRAG:public ELIST_LINK
int16_t ycoord; //coord of cut pt

private:
// Copy constructor (currently unused, therefore private).
C_OUTLINE_FRAG(const C_OUTLINE_FRAG& other);
};

ELISTIZEH(C_OUTLINE_FRAG)
Expand Down

0 comments on commit e3658bb

Please sign in to comment.