Skip to content

Commit e12ac82

Browse files
authored
Merge pull request #5637 from ab9rf/labor_kitchen_interface_food_key
add missing namespace
2 parents 0cf88f2 + e2eef85 commit e12ac82

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/include/df/custom/hash/labor_kitchen_interface_food_key.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
template<>
2-
struct std::hash<labor_kitchen_interface_food_key> {
2+
struct std::hash<> {
33
auto operator()(const labor_kitchen_interface_food_key &a) const -> size_t {
44
struct thing {
55
int16_t t;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
bool operator<(const labor_kitchen_interface_food_key &b) const {
1+
bool operator<(const df::labor_kitchen_interface_food_key &b) const {
22
if (type<b.type) return true;
33
if (subtype<b.subtype) return true;
44
if (mat<b.mat) return true;
55
if (matg<b.matg) return true;
66
return false;
77
}
88

9-
bool operator==(const labor_kitchen_interface_food_key &b) const {
9+
bool operator==(const df::labor_kitchen_interface_food_key &b) const {
1010
return type==b.type&&subtype==b.subtype&&mat==b.mat&&matg==b.matg;
1111
}

0 commit comments

Comments
 (0)