MCPcopy Create free account
hub / github.com/acl-dev/acl / remove

Method remove

lib_fiber/cpp/src/tcp_keeper.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void tcp_keeper::remove(const char* addr)
97{
98 std::map<std::string, double>::iterator it;
99 thread_mutex_guard guard(*lock_);
100 it = addrs_.find(addr);
101 if (it != addrs_.end()) {
102 addrs_.erase(it);
103 }
104}
105
106void tcp_keeper::update(const char* addr, double cost)
107{

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected