Commit 9a1e24d9 authored by Anthony Lim's avatar Anthony Lim
Browse files

refs #26878 ALF model test adding virtual

parent 2aee77bb
......@@ -43,8 +43,8 @@ public:
ALFCustomInstrumentModel();
virtual ~ALFCustomInstrumentModel(){};
// virtual so we can patch them later
void loadAlg(const std::string &name) override;
void transformData() override;
virtual void loadAlg(const std::string &name) override;
virtual void transformData() override;
std::pair<int, std::string> loadData(const std::string &name) override final;
std::map<std::string, bool> isDataValid() override;
void storeSingleTube(const std::string &name) override;
......
......@@ -35,8 +35,8 @@ class ALFModelTest : public ALFCustomInstrumentModel{
public:
ALFModelTest():m_loadCount(0),m_transformCount(0){};
~ALFModelTest(){};
void loadAlg(const std::string &name) override{(void) name;m_loadCount+=1;};
void transformData() override {m_transformCount+=1;};
void loadAlg(const std::string &name) override final {(void) name;m_loadCount+=1;};
void transformData() override final {m_transformCount+=1;};
int getLoadCount(){return m_loadCount;};
int getTransformCount(){return m_transformCount;};
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment