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

Method Resize

lib/base/array.cpp:195–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195void Array::Resize(SizeType newSize)
196{
197 ObjectLock olock(this);
198
199 if (m_Frozen)
200 BOOST_THROW_EXCEPTION(std::invalid_argument("Array must not be modified."));
201
202 m_Data.resize(newSize);
203}
204
205void Array::Clear()
206{

Callers 2

scriptutils.cppFile · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected