FactoryStatic: rely on auto load for dl-enabled systems
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 12 Jun 2013 12:34:44 +0000 (14:34 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 12 Jun 2013 12:34:44 +0000 (14:34 +0200)
We don't need the static registration for those.

src/factory_static.cpp

index 044e2a7..8e83d2e 100644 (file)
@@ -60,6 +60,7 @@ namespace mp = metaproxy_1;
 mp::FactoryStatic::FactoryStatic()
 {
 #ifdef HAVE_DLFCN_H
+#else
     struct metaproxy_1_filter_struct *buildins[] = {
         &metaproxy_1_filter_auth_simple,
         &metaproxy_1_filter_backend_test,