From 53ae7cee19c269a6ebf53e468825305d448ff006 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 27 Aug 2013 20:22:09 +0300 Subject: fix code style. --- src/utils/sdlcheckutils.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/utils/sdlcheckutils.cpp') diff --git a/src/utils/sdlcheckutils.cpp b/src/utils/sdlcheckutils.cpp index 0d471d005..d8e902e4f 100644 --- a/src/utils/sdlcheckutils.cpp +++ b/src/utils/sdlcheckutils.cpp @@ -37,7 +37,7 @@ struct SurfaceObject { - SurfaceObject(const std::string name, const char *const file, + SurfaceObject(const std::string &name, const char *const file, const unsigned int line) : mName(name), mAddFile(strprintf("%s:%u", file, line)), @@ -60,7 +60,8 @@ static SDL_Surface *addSurface(const char *const name, const unsigned line) { #ifdef DEBUG_SURFACE_ALLOCATION - logger->log("add surface: %s %s:%u %p", name, file, line, static_cast(surface)); + logger->log("add surface: %s %s:%u %p", name, + file, line, static_cast(surface)); #endif std::map::iterator it = mSurfaces.find(surface); @@ -173,7 +174,7 @@ SDL_Surface *FakeSDL_ConvertSurface(SDL_Surface *const src, SDL_Surface *FakeTTF_RenderUTF8_Blended(_TTF_Font *const font, const char *const text, - const SDL_Color fg, + const SDL_Color &fg, const char *const file, const unsigned line) { -- cgit v1.2.3-60-g2f50