diff --git a/tests/FrameCameraTests.cpp b/tests/FrameCameraTests.cpp index 1ca19b9e58a0705a616b77d3557e9839dc890689..794be97ae87d7678c85e5dda2101478f39d4c712 100644 --- a/tests/FrameCameraTests.cpp +++ b/tests/FrameCameraTests.cpp @@ -13,6 +13,7 @@ using json = nlohmann::json; class FrameIsdTest : public ::testing::Test { protected: + csm::Isd isd; virtual void SetUp() { std::ifstream isdFile("data/simpleFramerISD.json"); @@ -36,7 +37,7 @@ class FrameSensorModel : public ::testing::Test { protected: UsgsAstroFrameSensorModel *sensorModel; - csm::Isd isd; + void SetUp() override { sensorModel = NULL; std::ifstream isdFile("data/simpleFramerISD.json");