From 7474fb2119c3b6c5be5ac63990188ab116a68935 Mon Sep 17 00:00:00 2001 From: Christine Kim Date: Mon, 9 Dec 2024 14:42:17 -0500 Subject: [PATCH] Remove KernelPool --- isis/src/mro/apps/hicrop/hicrop.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/isis/src/mro/apps/hicrop/hicrop.cpp b/isis/src/mro/apps/hicrop/hicrop.cpp index d6cc99aa5f..3b9a4e7132 100644 --- a/isis/src/mro/apps/hicrop/hicrop.cpp +++ b/isis/src/mro/apps/hicrop/hicrop.cpp @@ -81,20 +81,19 @@ namespace Isis { // originalStartTime() and time2clock() IString ckFileName = ui.GetFileName("CK"); - SpiceQL::KernelPool &kPool = SpiceQL::KernelPool::getInstance(); - kPool.load(FileName(QString::fromStdString(ckFileName)).expanded().toLatin1().data()); + SpiceQL::load(FileName(QString::fromStdString(ckFileName)).expanded().toLatin1().data()); if (ui.WasEntered("LSK")) { IString lskFileName = ui.GetFileName("LSK"); - kPool.load(FileName(QString::fromStdString(lskFileName)).expanded().toLatin1().data()); + SpiceQL::load(FileName(QString::fromStdString(lskFileName)).expanded().toLatin1().data()); }else{ } if (ui.WasEntered("SCLK")) { IString sclkFileName = ui.GetFileName("SCLK"); - kPool.load(FileName(QString::fromStdString(sclkFileName)).expanded().toLatin1().data()); + SpiceQL::load(FileName(QString::fromStdString(sclkFileName)).expanded().toLatin1().data()); }else{ - kPool.loadClockKernels(); + // SpiceQL::loadClockKernels(); } // get values from the labels needed to compute the line rate and the