aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-02-17 18:22:43 +0000
committergingerBill <bill@gingerbill.org>2018-02-17 18:22:43 +0000
commitc341597657d92834209b720efc54011bf0179828 (patch)
treec28dc29ee9a5aa2da73f12f3e6b0bbe6aac42f93 /src/types.cpp
parentc4d2d287fc0eac7348951ce275a1f3d80f25ef3d (diff)
Remove constant from switch for strings
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/types.cpp b/src/types.cpp
index dadbe0a62..09b91ee34 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -117,12 +117,12 @@ struct TypeStruct {
TYPE_KIND(Slice, struct { Type *elem; }) \
TYPE_KIND(DynamicArray, struct { Type *elem; }) \
TYPE_KIND(Map, struct { \
- Type * key; \
- Type * value; \
- Type * entry_type; \
- Type * generated_struct_type; \
- Type * internal_type; \
- Type * lookup_result_type; \
+ Type *key; \
+ Type *value; \
+ Type *entry_type; \
+ Type *generated_struct_type; \
+ Type *internal_type; \
+ Type *lookup_result_type; \
}) \
TYPE_KIND(Struct, TypeStruct) \
TYPE_KIND(Enum, struct { \