summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-18 07:58:59 +0200
committerLioncash <mathew1800@gmail.com>2014-08-18 07:59:03 +0200
commita49a5fa4d94e48e1f049365a8071ab5207ac5eee (patch)
tree362964ce0d437e8026d634158f41f5fbda229e92
parentMerge pull request #52 from lioncash/memory (diff)
downloadyuzu-a49a5fa4d94e48e1f049365a8071ab5207ac5eee.tar
yuzu-a49a5fa4d94e48e1f049365a8071ab5207ac5eee.tar.gz
yuzu-a49a5fa4d94e48e1f049365a8071ab5207ac5eee.tar.bz2
yuzu-a49a5fa4d94e48e1f049365a8071ab5207ac5eee.tar.lz
yuzu-a49a5fa4d94e48e1f049365a8071ab5207ac5eee.tar.xz
yuzu-a49a5fa4d94e48e1f049365a8071ab5207ac5eee.tar.zst
yuzu-a49a5fa4d94e48e1f049365a8071ab5207ac5eee.zip
-rw-r--r--src/common/symbols.cpp2
-rw-r--r--src/common/symbols.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/symbols.cpp b/src/common/symbols.cpp
index dcc9eeac5..d61f4c0c6 100644
--- a/src/common/symbols.cpp
+++ b/src/common/symbols.cpp
@@ -40,7 +40,7 @@ namespace Symbols
return symbol;
}
- const std::string& GetName(u32 _address)
+ const std::string GetName(u32 _address)
{
return GetSymbol(_address).name;
}
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();
};