summaryrefslogtreecommitdiffstats
path: root/src/common/symbols.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-08-18 21:35:47 +0200
committerbunnei <bunneidev@gmail.com>2014-08-18 21:35:47 +0200
commit0a1aab5b4259b555e77554376d87cc641c4fe922 (patch)
tree209400d4a1f7652a127cb40e167c71cc8f755fc1 /src/common/symbols.h
parentMerge pull request #56 from xsacha/master (diff)
parentCommon: Don't return a reference to a string when calling GetName in symbols.cpp (diff)
downloadyuzu-0a1aab5b4259b555e77554376d87cc641c4fe922.tar
yuzu-0a1aab5b4259b555e77554376d87cc641c4fe922.tar.gz
yuzu-0a1aab5b4259b555e77554376d87cc641c4fe922.tar.bz2
yuzu-0a1aab5b4259b555e77554376d87cc641c4fe922.tar.lz
yuzu-0a1aab5b4259b555e77554376d87cc641c4fe922.tar.xz
yuzu-0a1aab5b4259b555e77554376d87cc641c4fe922.tar.zst
yuzu-0a1aab5b4259b555e77554376d87cc641c4fe922.zip
Diffstat (limited to '')
-rw-r--r--src/common/symbols.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/symbols.h b/src/common/symbols.h
index b76749654..e59bc5dd4 100644
--- a/src/common/symbols.h
+++ b/src/common/symbols.h
@@ -32,7 +32,7 @@ namespace Symbols
void Add(u32 _address, const std::string& _name, u32 _size, u32 _type);
TSymbol GetSymbol(u32 _address);
- const std::string& GetName(u32 _address);
+ const std::string GetName(u32 _address);
void Remove(u32 _address);
void Clear();
};