Avoid copying in lookup_name_info
[deliverable/binutils-gdb.git] / gdb / dwarf2 / read.c
index 1ec5c1e582b7adc6bb1b973d985a431afb909ade..6ee33fcd6ed91ddad840ef1088eabf55cc332f5f 100644 (file)
@@ -3681,7 +3681,7 @@ mapped_index_base::find_name_components_bounds
     = this->name_components_casing == case_sensitive_on ? strcmp : strcasecmp;
 
   const char *lang_name
-    = lookup_name_without_params.language_lookup_name (lang).c_str ();
+    = lookup_name_without_params.language_lookup_name (lang);
 
   /* Comparison function object for lower_bound that matches against a
      given symbol name.  */
This page took 0.027555 seconds and 4 git commands to generate.