sahrk / DGGRID

A command-line application that generates and manipulates icosahedral discrete global grids.
GNU Affero General Public License v3.0
78 stars 26 forks source link

Fix warning in DgEllipsoidRF copy constructor #42

Closed r-barnes closed 2 years ago

r-barnes commented 3 years ago

Fixes:

/home/rick/projects/dggridR/src/src/DgEllipsoidRF.h:70:7: warning: base class ‘class DgDVec2D’ should be explicitly initialized in the copy constructor [-Wextra]
   70 |       DgGeoCoord (const DgGeoCoord& coord) { *this = coord; }
      |       ^~~~~~~~~~
sahrk commented 2 years ago

Thanks @r-barnes.