MCPcopy Create free account
hub / github.com/comaps/comaps / ~AttributeBufferMutator

Method ~AttributeBufferMutator

libs/drape/attribute_buffer_mutator.cpp:5–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace dp
4{
5AttributeBufferMutator::~AttributeBufferMutator()
6{
7 SharedBufferManager & mng = SharedBufferManager::instance();
8 for (size_t i = 0; i < m_array.size(); ++i)
9 {
10 TBufferNode & node = m_array[i];
11 mng.freeSharedBuffer(node.second, node.first);
12 }
13}
14
15void AttributeBufferMutator::AddMutation(BindingInfo const & info, MutateNode const & node)
16{

Callers

nothing calls this directly

Calls 2

freeSharedBufferMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected