mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 05:04:30 +02:00
Build fix for *NIX.
This commit is contained in:
parent
4814fed13a
commit
d87c1758d5
@ -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;
|
||||
|
@ -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. */
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user