MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Unique

Method Unique

lib/base/array.cpp:315–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315Array::Ptr Array::Unique() const
316{
317 std::set<Value> result;
318
319 ObjectLock olock(this);
320
321 for (const Value& item : m_Data) {
322 result.insert(item);
323 }
324
325 return Array::FromSet(result);
326}
327
328void Array::Freeze()
329{

Callers 3

HandleRequestMethod · 0.80
ArrayUniqueFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected