From cb074f3622da14871a066803f094ef20ef67bc1b Mon Sep 17 00:00:00 2001 From: Kaj Williams <kewilliams@usgs.gov> Date: Wed, 22 Aug 2018 13:08:29 -0700 Subject: [PATCH] fixed isd variable again --- tests/FrameCameraTests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/FrameCameraTests.cpp b/tests/FrameCameraTests.cpp index 1ca19b9..794be97 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"); -- GitLab