symbols: Directly initialize TSymbol members

master
Lioncash 2015-09-30 11:53:01 +07:00
parent 052eacc3b9
commit 7e143d4422
1 changed files with 3 additions and 8 deletions

@ -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;