MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / HashIntCompare

Class HashIntCompare

Source/UserInput/keycommands.cpp:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45HashIntVector hash_to_command;
46
47struct HashIntCompare {
48 bool operator()(const HashInt& a, const HashInt& b) {
49 return a.first < b.first;
50 }
51 bool operator()(const HashInt& a, unsigned long b) {
52 return a.first < b;
53 }
54};
55
56Command::Command() : num_key_events(0), state(kUp) {
57 display_text[0] = '\0';

Callers 2

BindStringMethod · 0.85
InitializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected