]> granicus.if.org Git - icinga2/commitdiff
Build fix for *NIX.
authorGunnar Beutner <gunnar@beutner.name>
Mon, 23 Jul 2012 08:27:12 +0000 (10:27 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 23 Jul 2012 08:27:12 +0000 (10:27 +0200)
base/component.cpp
base/component.h

index d2ebd2877202767b141c2916d65513a08c1c4294..52c27b5a3fb5d9ed939f7c9078b55dc717ad7b94 100644 (file)
@@ -91,7 +91,6 @@ void Component::Load(const string& name, const ConfigObject::Ptr& config)
 
        component->m_Name = name;
        component->m_Config = config;
-       component->m_ModuleHandle = hModule;
 
        try {
                m_Components[name] = component;
index e39d9dab119ea8acc21b47cc5ade2598f6291139..a59c1faa7fa7ebaee688621bb152a233016be489 100644 (file)
@@ -56,12 +56,6 @@ private:
        string m_Name;
        ConfigObject::Ptr m_Config;
 
-#ifdef _WIN32
-       HMODULE m_ModuleHandle;
-#else /* _WIN32 */
-       lt_dlhandle m_ModuleHandle;
-#endif /* _WIN32 */
-
        static map<string, Component::Ptr> m_Components; /**< Components that
                                        were loaded by the application. */
 };