MCPcopy Create free account
hub / github.com/apple/foundationdb / operator=

Method operator=

flow/include/flow/ThreadHelper.actor.h:609–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607 sav->delref();
608 }
609 void operator=(const ThreadFuture<T>& rhs) {
610 if (rhs.sav)
611 rhs.sav->addref();
612 if (sav)
613 sav->delref();
614 sav = rhs.sav;
615 }
616 void operator=(ThreadFuture<T>&& rhs) noexcept {
617 if (sav != rhs.sav) {
618 if (sav)

Callers

nothing calls this directly

Calls 2

addrefMethod · 0.45
delrefMethod · 0.45

Tested by

no test coverage detected