mirror of https://github.com/ecmwf/eccodes.git
Modernisation: Nearest: Fix pointers to nearest objects
This commit is contained in:
parent
d6f8b9532a
commit
89167a709e
|
@ -11,7 +11,7 @@
|
|||
#include "grib_nearest_class_lambert_azimuthal_equal_area.h"
|
||||
|
||||
eccodes::geo_nearest::LambertAzimuthalEqualArea _grib_nearest_lambert_azimuthal_equal_area{};
|
||||
eccodes::geo_nearest::LambertAzimuthalEqualArea* grib_nearest_lambert_azimuthal_equal_area = &_grib_nearest_lambert_azimuthal_equal_area;
|
||||
eccodes::geo_nearest::Nearest* grib_nearest_lambert_azimuthal_equal_area = &_grib_nearest_lambert_azimuthal_equal_area;
|
||||
|
||||
namespace eccodes::geo_nearest {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "grib_nearest_class_lambert_conformal.h"
|
||||
|
||||
eccodes::geo_nearest::LambertConformal _grib_nearest_lambert_conformal{};
|
||||
eccodes::geo_nearest::LambertConformal* grib_nearest_lambert_conformal = &_grib_nearest_lambert_conformal;
|
||||
eccodes::geo_nearest::Nearest* grib_nearest_lambert_conformal = &_grib_nearest_lambert_conformal;
|
||||
|
||||
namespace eccodes::geo_nearest {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "grib_nearest_class_latlon_reduced.h"
|
||||
|
||||
eccodes::geo_nearest::LatlonReduced _grib_nearest_latlon_reduced{};
|
||||
eccodes::geo_nearest::LatlonReduced* grib_nearest_latlon_reduced = &_grib_nearest_latlon_reduced;
|
||||
eccodes::geo_nearest::Nearest* grib_nearest_latlon_reduced = &_grib_nearest_latlon_reduced;
|
||||
|
||||
namespace eccodes::geo_nearest {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "grib_nearest_class_mercator.h"
|
||||
|
||||
eccodes::geo_nearest::Mercator _grib_nearest_mercator{};
|
||||
eccodes::geo_nearest::Mercator* grib_nearest_mercator = &_grib_nearest_mercator;
|
||||
eccodes::geo_nearest::Nearest* grib_nearest_mercator = &_grib_nearest_mercator;
|
||||
|
||||
namespace eccodes::geo_nearest {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "grib_nearest_class_polar_stereographic.h"
|
||||
|
||||
eccodes::geo_nearest::PolarStereographic _grib_nearest_polar_stereographic{};
|
||||
eccodes::geo_nearest::PolarStereographic* grib_nearest_polar_stereographic = &_grib_nearest_polar_stereographic;
|
||||
eccodes::geo_nearest::Nearest* grib_nearest_polar_stereographic = &_grib_nearest_polar_stereographic;
|
||||
|
||||
namespace eccodes::geo_nearest {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "grib_nearest_class_reduced.h"
|
||||
|
||||
eccodes::geo_nearest::Reduced _grib_nearest_reduced{};
|
||||
eccodes::geo_nearest::Reduced* grib_nearest_reduced = &_grib_nearest_reduced;
|
||||
eccodes::geo_nearest::Nearest* grib_nearest_reduced = &_grib_nearest_reduced;
|
||||
|
||||
namespace eccodes::geo_nearest {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "grib_nearest_class_regular.h"
|
||||
|
||||
eccodes::geo_nearest::Regular _grib_nearest_regular{};
|
||||
eccodes::geo_nearest::Regular* grib_nearest_regular = &_grib_nearest_regular;
|
||||
eccodes::geo_nearest::Nearest* grib_nearest_regular = &_grib_nearest_regular;
|
||||
|
||||
namespace eccodes::geo_nearest {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "grib_nearest_class_space_view.h"
|
||||
|
||||
eccodes::geo_nearest::SpaceView _grib_nearest_space_view{};
|
||||
eccodes::geo_nearest::SpaceView* grib_nearest_space_view = &_grib_nearest_space_view;
|
||||
eccodes::geo_nearest::Nearest* grib_nearest_space_view = &_grib_nearest_space_view;
|
||||
|
||||
namespace eccodes::geo_nearest {
|
||||
|
||||
|
|
Loading…
Reference in New Issue