From 8f75c0c717e3f9920278c5acc725eb3fa1a43df5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 May 2013 17:26:00 +0300 Subject: fix code style. --- src/gui/sdlfont.cpp | 2 +- src/resources/mapdb.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/sdlfont.cpp b/src/gui/sdlfont.cpp index d0e1fc043..ed9cb4701 100644 --- a/src/gui/sdlfont.cpp +++ b/src/gui/sdlfont.cpp @@ -433,7 +433,7 @@ void SDLFont::drawString(gcn::Graphics *const graphics, return; gcn::Color col = g->getColor(); - const gcn::Color col2 = g->getColor2(); + const gcn::Color &col2 = g->getColor2(); const float alpha = static_cast(col.a) / 255.0f; /* The alpha value is ignored at string generation so avoid caching the diff --git a/src/resources/mapdb.h b/src/resources/mapdb.h index 9e0407f66..4d444a08c 100644 --- a/src/resources/mapdb.h +++ b/src/resources/mapdb.h @@ -41,6 +41,8 @@ namespace MapDB { } + A_DELETE_COPY(MapInfo) + std::string atlas; const StringVect *files; }; -- cgit v1.2.3-70-g09d2