MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / operator<

Method operator<

src/Savegame/Node.h:82–82  ·  view source on GitHub ↗

compares the _flags variables of the nodes (for the purpose of patrol decisions!)

Source from the content-addressed store, hash-verified

80 int getFlags() { return _flags; }
81 /// compares the _flags variables of the nodes (for the purpose of patrol decisions!)
82 bool operator<(Node &b) { return _flags < b.getFlags(); };
83 bool isAllocated() const;
84 void allocateNode();
85 void freeNode();

Callers

nothing calls this directly

Calls 1

getFlagsMethod · 0.80

Tested by

no test coverage detected