Fix compile error with use of 'typename' outside of template.

elfcpp/
	* elfcpp_internal.h (Mips64_rel_data, Mips64_rela_data): Remove
	'typename'.
This commit is contained in:
H.J. Lu 2016-01-12 11:27:55 -08:00 committed by Cary Coutant
parent 1985dc2d04
commit d1193addae
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
* elfcpp_internal.h (Mips64_rel_data, Mips64_rela_data): Remove
'typename'.
2016-01-11 Cary Coutant <ccoutant@gmail.com>
* elfcpp.h (Mips64_rel, Mips64_rel_write): New classes.

View file

@ -184,7 +184,7 @@ struct Rela_data
struct Mips64_rel_data
{
typename Elf_types<64>::Elf_Addr r_offset;
Elf_types<64>::Elf_Addr r_offset;
Elf_Word r_sym;
unsigned char r_ssym;
unsigned char r_type3;
@ -194,7 +194,7 @@ struct Mips64_rel_data
struct Mips64_rela_data
{
typename Elf_types<64>::Elf_Addr r_offset;
Elf_types<64>::Elf_Addr r_offset;
Elf_Word r_sym;
unsigned char r_ssym;
unsigned char r_type3;