mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Simple compare is also comparable
This commit is contained in:
+1
-1
@@ -410,7 +410,7 @@ gb_internal u32 type_info_flags_of_type(Type *type) {
|
|||||||
flags |= TypeInfoFlag_Comparable;
|
flags |= TypeInfoFlag_Comparable;
|
||||||
}
|
}
|
||||||
if (is_type_simple_compare(type)) {
|
if (is_type_simple_compare(type)) {
|
||||||
flags |= TypeInfoFlag_Simple_Compare;
|
flags |= TypeInfoFlag_Comparable|TypeInfoFlag_Simple_Compare;
|
||||||
}
|
}
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user