summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-30 17:53:01 +0200
committerLioncash <mathew1800@gmail.com>2015-09-30 17:53:01 +0200
commit7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da (patch)
treec0f032c55583c100e0ea7686a191aba2bcc639e7 /src/common
parentsymbols: Simplify GetSymbol (diff)
downloadyuzu-7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da.tar
yuzu-7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da.tar.gz
yuzu-7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da.tar.bz2
yuzu-7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da.tar.lz
yuzu-7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da.tar.xz
yuzu-7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da.tar.zst
yuzu-7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/symbols.h11
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;