summaryrefslogtreecommitdiff
path: root/gdb/compile/compile-cplus-types.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/compile/compile-cplus-types.c')
-rw-r--r--gdb/compile/compile-cplus-types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile-cplus-types.c b/gdb/compile/compile-cplus-types.c
index f92091a8252..75b226d900e 100644
--- a/gdb/compile/compile-cplus-types.c
+++ b/gdb/compile/compile-cplus-types.c
@@ -383,7 +383,7 @@ compile_cplus_instance::new_scope (const char *type_name, struct type *type)
{
scope_component comp
= {
- decl_name (type->name ()).get (),
+ decl_name (type->name ()).get (),
lookup_symbol (type->name (), block (), VAR_DOMAIN, nullptr)
};
scope.push_back (comp);