MCPcopy Create free account
hub / github.com/ElementsProject/elements / operator()

Method operator()

src/test/checkqueue_tests.cpp:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 UniqueCheck(size_t check_id_in) : check_id(check_id_in){};
77 UniqueCheck() : check_id(0){};
78 bool operator()()
79 {
80 LOCK(m);
81 results.insert(check_id);
82 return true;
83 }
84 void swap(UniqueCheck& x) { std::swap(x.check_id, check_id); };
85};
86

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected