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