Skip to content
Snippets Groups Projects
Commit 56591f09 authored by Julien Malik's avatar Julien Malik
Browse files

COMP: fix compilation with gcc 41

parent 3356c492
Branches
Tags
No related merge requests found
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
/** Register one factory of this type */ /** Register one factory of this type */
static void RegisterOneFactory(void) static void RegisterOneFactory(void)
{ {
LibSVMMachineLearningModelFactory::Pointer LibSVMFactory = LibSVMMachineLearningModelFactory::New(); Pointer LibSVMFactory = LibSVMMachineLearningModelFactory::New();
itk::ObjectFactoryBase::RegisterFactory(LibSVMFactory); itk::ObjectFactoryBase::RegisterFactory(LibSVMFactory);
} }
......
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
/** Register one factory of this type */ /** Register one factory of this type */
static void RegisterOneFactory(void) static void RegisterOneFactory(void)
{ {
BoostMachineLearningModelFactory::Pointer Factory = BoostMachineLearningModelFactory::New(); Pointer Factory = BoostMachineLearningModelFactory::New();
itk::ObjectFactoryBase::RegisterFactory(Factory); itk::ObjectFactoryBase::RegisterFactory(Factory);
} }
......
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
/** Register one factory of this type */ /** Register one factory of this type */
static void RegisterOneFactory(void) static void RegisterOneFactory(void)
{ {
DecisionTreeMachineLearningModelFactory::Pointer Factory = DecisionTreeMachineLearningModelFactory::New(); Pointer Factory = DecisionTreeMachineLearningModelFactory::New();
itk::ObjectFactoryBase::RegisterFactory(Factory); itk::ObjectFactoryBase::RegisterFactory(Factory);
} }
......
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
/** Register one factory of this type */ /** Register one factory of this type */
static void RegisterOneFactory(void) static void RegisterOneFactory(void)
{ {
GradientBoostedTreeMachineLearningModelFactory::Pointer Factory = GradientBoostedTreeMachineLearningModelFactory::New(); Pointer Factory = GradientBoostedTreeMachineLearningModelFactory::New();
itk::ObjectFactoryBase::RegisterFactory(Factory); itk::ObjectFactoryBase::RegisterFactory(Factory);
} }
......
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
/** Register one factory of this type */ /** Register one factory of this type */
static void RegisterOneFactory(void) static void RegisterOneFactory(void)
{ {
KNearestNeighborsMachineLearningModelFactory::Pointer KNNFactory = KNearestNeighborsMachineLearningModelFactory::New(); Pointer KNNFactory = KNearestNeighborsMachineLearningModelFactory::New();
itk::ObjectFactoryBase::RegisterFactory(KNNFactory); itk::ObjectFactoryBase::RegisterFactory(KNNFactory);
} }
......
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
/** Register one factory of this type */ /** Register one factory of this type */
static void RegisterOneFactory(void) static void RegisterOneFactory(void)
{ {
NeuralNetworkMachineLearningModelFactory::Pointer Factory = NeuralNetworkMachineLearningModelFactory::New(); Pointer Factory = NeuralNetworkMachineLearningModelFactory::New();
itk::ObjectFactoryBase::RegisterFactory(Factory); itk::ObjectFactoryBase::RegisterFactory(Factory);
} }
......
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
/** Register one factory of this type */ /** Register one factory of this type */
static void RegisterOneFactory(void) static void RegisterOneFactory(void)
{ {
NormalBayesMachineLearningModelFactory::Pointer Factory = NormalBayesMachineLearningModelFactory::New(); Pointer Factory = NormalBayesMachineLearningModelFactory::New();
itk::ObjectFactoryBase::RegisterFactory(Factory); itk::ObjectFactoryBase::RegisterFactory(Factory);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment