mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
SymbolDB: Namespace code under the Common namespace
Moves more common code into the Common namespace where it belongs.
This commit is contained in:
parent
72e8058fb8
commit
f4ec419929
24 changed files with 122 additions and 104 deletions
|
@ -11,6 +11,8 @@
|
|||
#include "Common/Logging/Log.h"
|
||||
#include "Common/SymbolDB.h"
|
||||
|
||||
namespace Common
|
||||
{
|
||||
static std::string GetStrippedFunctionName(const std::string& symbol_name)
|
||||
{
|
||||
std::string name = symbol_name.substr(0, symbol_name.find('('));
|
||||
|
@ -103,3 +105,4 @@ void SymbolDB::AddCompleteSymbol(const Symbol& symbol)
|
|||
{
|
||||
m_functions.emplace(symbol.address, symbol);
|
||||
}
|
||||
} // namespace Common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue