From c0da275501556b54a420fcd08497a7a557a5a97c Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Wed, 27 Aug 2008 11:33:45 +0000 Subject: [PATCH] Fixed warning about initialisation order. Also made code layout consistent within this file. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@350 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PowerPC/SymbolDB.h | 38 ++++++++++++------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/SymbolDB.h b/Source/Core/Core/Src/PowerPC/SymbolDB.h index e078079551..dd2f314e59 100644 --- a/Source/Core/Core/Src/PowerPC/SymbolDB.h +++ b/Source/Core/Core/Src/PowerPC/SymbolDB.h @@ -23,10 +23,10 @@ struct SCall { - SCall(u32 a, u32 b) : - function(a), - callAddress(b) - {} + SCall(u32 a, u32 b) : + function(a), + callAddress(b) + {} u32 function; u32 callAddress; }; @@ -38,21 +38,21 @@ struct Symbol SYMBOL_DATA = 1, }; - Symbol() : - hash(0), - address(0), - flags(0), - size(0), - numCalls(0), - analyzed(0), - type(SYMBOL_FUNCTION) - {} + Symbol() : + hash(0), + address(0), + flags(0), + size(0), + numCalls(0), + type(SYMBOL_FUNCTION), + analyzed(0) + {} - ~Symbol() - { - callers.clear(); - calls.clear(); - } + ~Symbol() + { + callers.clear(); + calls.clear(); + } std::string name; std::vector callers; //addresses of functions that call this function @@ -76,7 +76,7 @@ enum FFLAG_EVIL=(1<<3), FFLAG_RFI=(1<<4), FFLAG_STRAIGHT=(1<<5) -}; +}; // This has functionality overlapping Debugger_Symbolmap. Should merge that stuff in here later.