Use an accessor function for general_symbol_info::language
[deliverable/binutils-gdb.git] / gdb / cp-namespace.c
index d813d050733ce5537ed34da4549d62a62cf488ba..20067cdd0360ae535099a54f44e9251adf782eb8 100644 (file)
@@ -516,7 +516,7 @@ cp_lookup_symbol_imports_or_template (const char *scope,
                          domain_name (domain));
     }
 
-  if (function != NULL && SYMBOL_LANGUAGE (function) == language_cplus)
+  if (function != NULL && function->language () == language_cplus)
     {
       /* Search the function's template parameters.  */
       if (SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION (function))
This page took 0.026398 seconds and 4 git commands to generate.