mirror of https://github.com/Icinga/icinga2.git
parent
11e37a0bd1
commit
21759f015d
|
@ -8,6 +8,7 @@
|
|||
#include "base/type.hpp"
|
||||
#include "base/dictionary.hpp"
|
||||
#include <mutex>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace icinga
|
||||
{
|
||||
|
@ -48,7 +49,7 @@ for (const auto& object : objects) {
|
|||
int GetObjectCount() const;
|
||||
|
||||
private:
|
||||
typedef std::map<String, intrusive_ptr<ConfigObject> > ObjectMap;
|
||||
typedef std::unordered_map<String, intrusive_ptr<ConfigObject> > ObjectMap;
|
||||
typedef std::vector<intrusive_ptr<ConfigObject> > ObjectVector;
|
||||
|
||||
mutable std::mutex m_Mutex;
|
||||
|
|
Loading…
Reference in New Issue