MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / operator==

Method operator==

game/state/stateobject.h:135–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 return !!obj;
134 }
135 bool operator==(const StateRef<T> &other) const
136 {
137 if (this->id != other.id)
138 {
139 return false;
140 }
141 return true;
142 }
143 bool operator!=(const StateRef<T> &other) const { return !(*this == other); }
144 bool operator==(const sp<T> &other) const
145 {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected