Skip to content
Snippets Groups Projects
Commit 1d6b40b5 authored by Matt Clarke's avatar Matt Clarke
Browse files

Removed AlgorithmFactory.cpp. Refs #31

parent 590d43b1
No related branches found
No related tags found
No related merge requests found
#include "../inc/AlgorithmFactory.h"
namespace Mantid
{
namespace Kernel
{
Logger& AlgorithmFactory::g_log = Logger::get("AlgorithmFactory");
// Initialise the instance pointer to zero
AlgorithmFactory* AlgorithmFactory::m_instance = 0;
AlgorithmFactory::AlgorithmFactory()
{
}
AlgorithmFactory::~AlgorithmFactory()
{
delete m_instance;
}
AlgorithmFactory* AlgorithmFactory::Instance()
{
if (!m_instance) m_instance=new AlgorithmFactory;
return m_instance;
}
} // namespace Kernel
} // namespace Mantid
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment