Work around gcc 2 member template issue
Fixes the gcc 2 build.
This commit is contained in:
parent
fc76f5a866
commit
262ddba25c
|
@ -142,10 +142,11 @@ public:
|
|||
|
||||
template<typename Value>
|
||||
Value Get(const Value& value) const
|
||||
{ return Get(value, fSwappedByteOrder); }
|
||||
{ return StaticGet(value,
|
||||
fSwappedByteOrder); }
|
||||
|
||||
template<typename Value>
|
||||
static Value Get(const Value& value,
|
||||
static Value StaticGet(const Value& value,
|
||||
bool swappedByteOrder);
|
||||
|
||||
private:
|
||||
|
@ -191,7 +192,7 @@ private:
|
|||
|
||||
template<typename Value>
|
||||
/*static*/ inline Value
|
||||
ElfFile::Get(const Value& value, bool swappedByteOrder)
|
||||
ElfFile::StaticGet(const Value& value, bool swappedByteOrder)
|
||||
{
|
||||
if (!swappedByteOrder)
|
||||
return value;
|
||||
|
|
|
@ -159,7 +159,7 @@ public:
|
|||
template<typename Value>
|
||||
Value Get(const Value& value) const
|
||||
{
|
||||
return ElfFile::Get(value, fSwappedByteOrder);
|
||||
return ElfFile::StaticGet(value, fSwappedByteOrder);
|
||||
}
|
||||
|
||||
void SetSource(ElfSymbolLookupSource* source)
|
||||
|
|
Loading…
Reference in New Issue