diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-08 23:24:37 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-09 22:48:21 +0200 |
commit | 69d8407badcb703709534f5097b9b5697ac3404c (patch) | |
tree | 7a7e126b0ce0181f22397d62ca3d4e553482b439 /src/gui/minimap.cpp | |
parent | 1158bce840bbd76a297c4f5eefd19444584f6fcd (diff) | |
download | mana-client-69d8407badcb703709534f5097b9b5697ac3404c.tar.gz mana-client-69d8407badcb703709534f5097b9b5697ac3404c.tar.bz2 mana-client-69d8407badcb703709534f5097b9b5697ac3404c.tar.xz mana-client-69d8407badcb703709534f5097b9b5697ac3404c.zip |
Made BeingManager methods const where appropriate
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r-- | src/gui/minimap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index bfd34390..061a2ace 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -136,9 +136,9 @@ void Minimap::draw(gcn::Graphics *graphics) } const Beings &beings = beingManager->getAll(); - Beings::const_iterator bi; - for (bi = beings.begin(); bi != beings.end(); bi++) + for (Beings::const_iterator bi = beings.begin(), bi_end = beings.end(); + bi != bi_end; ++bi) { const Being *being = (*bi); int dotSize = 2; |