Skip to content

Commit

Permalink
Remove trivial assignment operator
Browse files Browse the repository at this point in the history
Violates rule of 2. Thanks to Coverity!
  • Loading branch information
nyalldawson committed Aug 29, 2017
1 parent 78b834c commit 137dc76
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/app/dwg/libdxfrw/drw_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,6 @@ class DRW_Coord
DRW_Coord(): x( 0 ), y( 0 ), z( 0 ) {}
DRW_Coord( double ix, double iy, double iz ): x( ix ), y( iy ), z( iz ) {}

DRW_Coord &operator = ( const DRW_Coord &data )
{
x = data.x;
y = data.y;
z = data.z;
return *this;
}
//! < convert to unitary vector
void unitize()
{
Expand Down

0 comments on commit 137dc76

Please sign in to comment.