mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-12 16:24:41 +02:00
parent
11e37a0bd1
commit
21759f015d
@ -8,6 +8,7 @@
|
|||||||
#include "base/type.hpp"
|
#include "base/type.hpp"
|
||||||
#include "base/dictionary.hpp"
|
#include "base/dictionary.hpp"
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
#include <unordered_map>
|
||||||
|
|
||||||
namespace icinga
|
namespace icinga
|
||||||
{
|
{
|
||||||
@ -48,7 +49,7 @@ for (const auto& object : objects) {
|
|||||||
int GetObjectCount() const;
|
int GetObjectCount() const;
|
||||||
|
|
||||||
private:
|
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;
|
typedef std::vector<intrusive_ptr<ConfigObject> > ObjectVector;
|
||||||
|
|
||||||
mutable std::mutex m_Mutex;
|
mutable std::mutex m_Mutex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user