Commits

Darrell Schiebel authored 681ffc8462d
fix clang error

code/components/ComponentModels/test/FluxStandard2_GTest.cc

Modified
42 42 NewFluxStandardTest::~NewFluxStandardTest() {};
43 43
44 44 void NewFluxStandardTest::SetUp()
45 45 {
46 46 mtime = MEpoch(Quantity(56293.0,"d")); //2013-01-01
47 47 //mtime = MEpoch(Quantity(54832.0,"d")); //2009-01-01
48 48 srcDir = MDirection(MVDirection(Quantity(0.0,"rad"),Quantity(0.0,"rad")), MDirection::J2000);
49 49 };
50 50
51 51 Bool NewFluxStandardTest::modelExists(String tablename) {
52 - String stdPath = "nrao/VLA/standards/"+tablename;
52 + const string stdPath = "nrao/VLA/standards/"+tablename;
53 53 string resolvepath = casatools::get_state( ).resolve(stdPath);
54 54 if ( resolvepath != stdPath ) {
55 55 foundModelPath = resolvepath;
56 56 return true;
57 57 }
58 58 Bool dataExists = Aipsrc::findDir(foundModelPath, "data/"+stdPath);
59 59 return dataExists;
60 60 };
61 61
62 62 void NewFluxStandardTest::TearDown() {};

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

Add shortcut