MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / get

Method get

game/state/stateobject.h:187–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 return obj;
186 }
187 const T *get() const
188 {
189 if (!obj)
190 resolve();
191 return obj.get();
192 }
193 bool operator<(const StateRef<T> &other) const { return this->id < other.id; }
194 void clear()
195 {

Callers 3

operator->Method · 0.45
operator==Method · 0.45
operator!=Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected