MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / erase_in

Method erase_in

include/geode/basic/mapping.hpp:155–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 void erase_in( const T1& in )
156 {
157 auto in_itr = this->in2out_mapping().find( in );
158 if( in_itr == this->in2out_mapping().end() )
159 {
160 return;
161 }
162 this->out2in_mapping().erase( in_itr->second );
163 this->in2out_mapping().erase( in_itr );
164 }
165
166 void erase_out( const T2& out )
167 {

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected