Make Elf_file::section_name() a const function, so that it can be used in
[deliverable/binutils-gdb.git] / gold / incremental.h
index f84511dd012f523fe4894ef7056a6ce074c23fc5..5440c863f9f3fe903afd3c1825352c7393b7ba53 100644 (file)
@@ -1901,7 +1901,7 @@ class Sized_relobj_incr : public Sized_relobj<size, big_endian>
 
   // Get the name of a section.
   std::string
-  do_section_name(unsigned int shndx);
+  do_section_name(unsigned int shndx) const;
 
   // Return a view of the contents of a section.
   const unsigned char*
@@ -2112,7 +2112,7 @@ class Sized_incr_dynobj : public Dynobj
 
   // Get the name of a section.
   std::string
-  do_section_name(unsigned int shndx);
+  do_section_name(unsigned int shndx) const;
 
   // Return a view of the contents of a section.
   const unsigned char*
This page took 0.026847 seconds and 4 git commands to generate.