MCPcopy Create free account
hub / github.com/PABannier/sam3.cpp / operator()

Method operator()

sam3.cpp:3378–3383  ·  view source on GitHub ↗

Deleter implementations for opaque types

Source from the content-addressed store, hash-verified

3376
3377// Deleter implementations for opaque types
3378void sam3_state_deleter::operator()(sam3_state* p) const {
3379 if (p) {
3380 sam3_free_state(*p);
3381 delete p;
3382 }
3383}
3384
3385void sam3_tracker_deleter::operator()(sam3_tracker* p) const {
3386 if (p) {

Callers

nothing calls this directly

Calls 2

sam3_free_stateFunction · 0.85
sam3_tracker_resetFunction · 0.85

Tested by

no test coverage detected