From 106a55d22e48c6ccc0fba237e710d5259e70844f Mon Sep 17 00:00:00 2001 From: Tammo Jan Dijkema <dijkema@astron.nl> Date: Mon, 24 Feb 2020 20:45:54 +0000 Subject: [PATCH] Change too modern C++ feature to equivalent code --- Station.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Station.cc b/Station.cc index 3ab44672..f2fd43ff 100644 --- a/Station.cc +++ b/Station.cc @@ -97,9 +97,8 @@ const vector3r_t &Station::phaseReference() const matrix22c_t Station::elementResponse(real_t time, real_t freq, const vector3r_t &direction, size_t id, const bool rotate) const { - Antenna::Options options = { - .rotate = rotate - }; + Antenna::Options options; + options.rotate = rotate; if (rotate) { vector3r_t ncp_ = ncp(time); -- GitLab