Commits

Darrell Schiebel authored 12a3ecacea3 Merge
Merge pull request #806 in CASA/casa from CAS-12142 to master

* commit '53a8e7147010c53e8bbb62ea26f1bb645b8ba794': CAS-12142 eliminate OSX clang compiler warnings

code/msvis/MSVis/MSUVWGenerator.cc

Modified
9 9 #include <ms/MeasurementSets/MSAntennaColumns.h>
10 10 #include <measures/Measures/MCBaseline.h>
11 11 #include <map>
12 12
13 13 using namespace casacore;
14 14 namespace casa {
15 15
16 16 // The UvwCoords ctor has lines for the antennas, antenna offsets, and station
17 17 // positions. This ctor assumes they're present in msc_p if present at all.
18 18 MSUVWGenerator::MSUVWGenerator(MSColumns &msc_ref, const MBaseline::Types bltype,
19 - const Muvw::Types uvwtype) :
19 + const Muvw::Types) :
20 20 msc_p(msc_ref),
21 21 bl_csys_p(MBaseline::Ref(bltype)), // MBaseline::J2000, ITRF, etc.
22 - uvw_csys_p(uvwtype), // uvw_csys_p(Muvw::J2000, ITRF, etc.)
23 22 antColumns_p(msc_p.antenna()),
24 23 antPositions_p(antColumns_p.positionMeas()),
25 24 antOffset_p(antColumns_p.offsetMeas()),
26 25 refpos_p(antPositions_p(0)), // We use the first antenna for the reference
27 26 feedOffset_p(msc_p.feed().positionMeas())
28 27 {
29 28 // It seems that using a String is the only safe way to go from say,
30 29 // MPosition::ITRF to MBaseline::ITRF.
31 30 MBaseline::getType(refposref_p,
32 31 MPosition::showType(refpos_p.getRef().getType()));

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut