Skip to content
Permalink
Browse files

Remove trivial assignment operator

Violates rule of 2. Thanks to Coverity!
  • Loading branch information
nyalldawson committed Aug 29, 2017
1 parent 78b834c commit 137dc76d3c3ba5ae4ae72f73265eaafeda992ba4
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/app/dwg/libdxfrw/drw_base.h
@@ -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()
{

0 comments on commit 137dc76

Please sign in to comment.
You can’t perform that action at this time.