From f09b6a4c90805a562b2252430f844e85d06f1ee1 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 13 Apr 2020 13:02:30 +0100 Subject: Simplify compiler's `Map` and create a `StringMap` specifically for strings --- src/types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp index 52db2ee44..bf5a12e9b 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -2254,7 +2254,7 @@ Selection lookup_field_from_index(Type *type, i64 index) { } -Entity *scope_lookup_current(Scope *s, String name); +Entity *scope_lookup_current(Scope *s, String const &name); Selection lookup_field_with_selection(Type *type_, String field_name, bool is_type, Selection sel, bool allow_blank_ident) { GB_ASSERT(type_ != nullptr); -- cgit v1.2.3