Commits

Takeshi Nakazato authored 3d72693d122
CAS-14072 use auto
No tags

casatools/src/code/msvis/MSVis/VisibilityIteratorImpl2.cc

Modified
1122 1122 vb_p(nullptr),
1123 1123 weightScaling_p(),
1124 1124 writable_p(writable),
1125 1125 ddIdScope_p(UnknownScope),
1126 1126 timeScope_p(UnknownScope),
1127 1127 sortColumns_p(sortColumns),
1128 1128 subchunkSortColumns_p(false)
1129 1129 {
1130 1130 // Set the default subchunk iteration sorting scheme, i.e.
1131 1131 // unique timestamps in each subchunk.
1132 - std::shared_ptr<BaseCompare> singleTimeCompare = std::make_shared<ObjCompare<Double> >();
1132 + auto singleTimeCompare = std::make_shared<ObjCompare<Double> >();
1133 1133 subchunkSortColumns_p.addSortingColumn(MS::TIME, singleTimeCompare);
1134 1134 timeScope_p = SubchunkScope;
1135 1135
1136 1136 initialize(mss, useMSIter2);
1137 1137
1138 1138 VisBufferOptions options = writable_p ? VbWritable : VbNoOptions;
1139 1139
1140 1140 vb_p = createAttachedVisBuffer(options);
1141 1141 }
1142 1142

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

Add shortcut