diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-30 11:53:01 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-30 11:53:01 -0400 |
commit | 7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da (patch) | |
tree | c0f032c55583c100e0ea7686a191aba2bcc639e7 /src | |
parent | 052eacc3b9345ce68048e31657e518241c5b004d (diff) |
symbols: Directly initialize TSymbol members
Diffstat (limited to 'src')
-rw-r--r-- | src/common/symbols.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/common/symbols.h b/src/common/symbols.h index 6b62b011e..e9ddb532d 100644 --- a/src/common/symbols.h +++ b/src/common/symbols.h @@ -12,15 +12,10 @@ struct TSymbol { - TSymbol() : - address(0), - size(0), - type(0) - {} - u32 address; + u32 address = 0; std::string name; - u32 size; - u32 type; + u32 size = 0; + u32 type = 0; }; typedef std::map<u32, TSymbol> TSymbolsMap; |