Skip to content

Commit 137dc76

Browse files
committedAug 29, 2017
Remove trivial assignment operator
Violates rule of 2. Thanks to Coverity!
1 parent 78b834c commit 137dc76

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed
 

‎src/app/dwg/libdxfrw/drw_base.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,6 @@ class DRW_Coord
158158
DRW_Coord(): x( 0 ), y( 0 ), z( 0 ) {}
159159
DRW_Coord( double ix, double iy, double iz ): x( ix ), y( iy ), z( iz ) {}
160160

161-
DRW_Coord &operator = ( const DRW_Coord &data )
162-
{
163-
x = data.x;
164-
y = data.y;
165-
z = data.z;
166-
return *this;
167-
}
168161
//! < convert to unitary vector
169162
void unitize()
170163
{

0 commit comments

Comments
 (0)
Please sign in to comment.