Index: ext/libicpf/src/module.h =================================================================== diff -u -N -re17c80d36eaa0430313e7d1058aa7a301d1510af -r8d691767fb8f0643d990f2613daffd4ec18422fa --- ext/libicpf/src/module.h (.../module.h) (revision e17c80d36eaa0430313e7d1058aa7a301d1510af) +++ ext/libicpf/src/module.h (.../module.h) (revision 8d691767fb8f0643d990f2613daffd4ec18422fa) @@ -178,7 +178,8 @@ /**@}*/ protected: - std::map m_mMods; ///< Internal map of module parameters + void* m_pMods; ///< Internal map of module parameters +// std::map m_mMods; mutex m_lock; ///< A locking mutex }; @@ -404,8 +405,10 @@ #endif protected: - std::vector m_vModules; ///< Vector with the loaded modules (used to make this class preserve the module positions) - std::map m_mModules; ///< Mapping module id->module pointer +// std::vector m_vModules; +// std::map m_mModules; + void* m_vModules; ///< Array of modules (used to make this class preserve the module positions) - internal. + void* m_mModules; ///< Mapping module id->module pointer (internal) const MODULE_INITDATA* m_pmid; ///< Module initialization data (used for module::init() functions and/or constructors) mutex m_lock; ///< Thread-safe access guarantee