More initializers

This commit is contained in:
Eric Fischer
2017-11-07 15:57:56 -08:00
parent 30aa422483
commit 0152db4a20
5 changed files with 72 additions and 72 deletions
+6 -6
View File
@@ -16,12 +16,12 @@ struct lonlat {
long long x;
long long y;
lonlat(int nop, double nlon, double nlat, long long nx, long long ny) {
this->op = nop;
this->lon = nlon;
this->lat = nlat;
this->x = nx;
this->y = ny;
lonlat(int nop, double nlon, double nlat, long long nx, long long ny)
: op(nop),
lon(nlon),
lat(nlat),
x(nx),
y(ny) {
}
};