symbols: Directly initialize TSymbol members
This commit is contained in:
parent
052eacc3b9
commit
7e143d4422
|
@ -12,15 +12,10 @@
|
||||||
|
|
||||||
struct TSymbol
|
struct TSymbol
|
||||||
{
|
{
|
||||||
TSymbol() :
|
u32 address = 0;
|
||||||
address(0),
|
|
||||||
size(0),
|
|
||||||
type(0)
|
|
||||||
{}
|
|
||||||
u32 address;
|
|
||||||
std::string name;
|
std::string name;
|
||||||
u32 size;
|
u32 size = 0;
|
||||||
u32 type;
|
u32 type = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::map<u32, TSymbol> TSymbolsMap;
|
typedef std::map<u32, TSymbol> TSymbolsMap;
|
||||||
|
|
Reference in New Issue