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

Method operator=

flow/include/flow/ThreadHelper.actor.h:903–909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

901 sav->delref();
902 }
903 void operator=(const ThreadFuture<T>& rhs) {
904 if (rhs.sav)
905 rhs.sav->addref();
906 if (sav)
907 sav->delref();
908 sav = rhs.sav;
909 }
910 void operator=(ThreadFuture<T>&& rhs) noexcept {
911 if (sav != rhs.sav) {
912 if (sav)

Callers

nothing calls this directly

Calls 2

addrefMethod · 0.45
delrefMethod · 0.45

Tested by

no test coverage detected