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

Method Sort

lib/base/array.cpp:278–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void Array::Sort()
279{
280 ObjectLock olock(this);
281
282 if (m_Frozen)
283 BOOST_THROW_EXCEPTION(std::invalid_argument("Array must not be modified."));
284
285 std::sort(m_Data.begin(), m_Data.end());
286}
287
288String Array::ToString() const
289{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected