summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-11 15:04:23 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-11 15:04:23 +0200
commit5ad3d86b6e2c39de7465186ec8702053a82b6152 (patch)
tree260caa74def1712bf1d0811789a2205e8c55e2fc /include
parent90a0bd4962ae21413456b27e55382ba5223e1c10 (diff)
parent9c7d0f544b7a4dec54e9a75ea45b985ad7fac756 (diff)
downloadastra-5ad3d86b6e2c39de7465186ec8702053a82b6152.tar.gz
astra-5ad3d86b6e2c39de7465186ec8702053a82b6152.tar.bz2
astra-5ad3d86b6e2c39de7465186ec8702053a82b6152.tar.xz
astra-5ad3d86b6e2c39de7465186ec8702053a82b6152.zip
Merge branch 'master' into parallel_vec
Diffstat (limited to 'include')
-rw-r--r--include/astra/AstraObjectFactory.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/astra/AstraObjectFactory.h b/include/astra/AstraObjectFactory.h
index 746e27a..5db9167 100644
--- a/include/astra/AstraObjectFactory.h
+++ b/include/astra/AstraObjectFactory.h
@@ -126,21 +126,6 @@ T* CAstraObjectFactory<T, TypeList>::create(std::string _sType)
return finder.res;
}
-//----------------------------------------------------------------------------------------
-// Create with XML
-template <typename T, typename TypeList>
-T* CAstraObjectFactory<T, TypeList>::create(const Config& _cfg)
-{
- T* object = create(_cfg.self.getAttribute("type"));
- if (object == NULL) return NULL;
- if (object->initialize(_cfg))
- return object;
- delete object;
- return NULL;
-}
-//----------------------------------------------------------------------------------------
-
-
//----------------------------------------------------------------------------------------