diff options
| author | gingerBill <bill@gingerbill.org> | 2020-09-07 11:41:42 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-09-07 11:41:42 +0100 |
| commit | 7f48cf84056f63abb4ad6a62900def4418fd994c (patch) | |
| tree | b6d61adfd79d3c68339361d6e532b949caaa01bf /src/check_type.cpp | |
| parent | 7e08bccc9a7726d601d06749b5785ecbe26ef61d (diff) | |
[REFLECTION BREAKING] Modify the internals of the `map` type to increase performance
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 7be70c11d..118c9a622 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -2794,6 +2794,8 @@ void check_map_type(CheckerContext *ctx, Type *type, Ast *node) { if (is_type_string(key)) { add_package_dependency(ctx, "runtime", "default_hash_string"); + } else { + add_package_dependency(ctx, "runtime", "default_hash_ptr"); } |