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

Method Reserve

lib/base/array.cpp:215–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void Array::Reserve(SizeType newSize)
216{
217 ObjectLock olock(this);
218
219 if (m_Frozen)
220 BOOST_THROW_EXCEPTION(std::invalid_argument("Array must not be modified."));
221
222 m_Data.reserve(newSize);
223}
224
225void Array::CopyTo(const Array::Ptr& dest) const
226{

Callers 2

ReadRESPMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected