summaryrefslogtreecommitdiff
path: root/src/textmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/textmanager.cpp')
-rw-r--r--src/textmanager.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/textmanager.cpp b/src/textmanager.cpp
index 35a20781..fff95f05 100644
--- a/src/textmanager.cpp
+++ b/src/textmanager.cpp
@@ -57,13 +57,11 @@ void TextManager::removeText(const Text *text)
}
}
-TextManager::~TextManager()
-{
-}
+TextManager::~TextManager() = default;
void TextManager::draw(gcn::Graphics *graphics, int xOff, int yOff)
{
- for (auto &text : mTextList)
+ for (auto text : mTextList)
{
text->draw(graphics, xOff, yOff);
}