Make the objfile constructor private
[deliverable/binutils-gdb.git] / gdb / symfile.c
index aec07d7a7abd5d3a788b97c69ce6637707e8b6cc..eef27a8418ebaf1705865827104a44cafb3d9957 100644 (file)
@@ -1093,7 +1093,7 @@ symbol_file_add_with_addrs (bfd *abfd, const char *name,
 
   if (mainline)
     flags |= OBJF_MAINLINE;
-  objfile = new struct objfile (abfd, name, flags);
+  objfile = objfile::make (abfd, name, flags);
 
   if (parent)
     add_separate_debug_objfile (objfile, parent);
This page took 0.025019 seconds and 4 git commands to generate.