summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-06 18:03:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-06 20:52:08 +0300
commitf0ae9007f666580259ca8c120f7aaee58a63f85a (patch)
treefebc9da1d2ee1a5d3f85096727cd8c26d036ea5e /src/graphicsmanager.cpp
parentf7c9165e0f59a33404a486c0b154a2c21ed9a9fa (diff)
downloadmanaverse-f0ae9007f666580259ca8c120f7aaee58a63f85a.tar.gz
manaverse-f0ae9007f666580259ca8c120f7aaee58a63f85a.tar.bz2
manaverse-f0ae9007f666580259ca8c120f7aaee58a63f85a.tar.xz
manaverse-f0ae9007f666580259ca8c120f7aaee58a63f85a.zip
Fix code style.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 83439b03e..fec1a9a6d 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -79,7 +79,7 @@ void GraphicsManager::updateExtensions(const char *extensions)
splitToStringSet(mExtensions, extensions, ' ');
}
-bool GraphicsManager::supportExtension(const std::string ext)
+bool GraphicsManager::supportExtension(const std::string &ext)
{
return mExtensions.find(ext) != mExtensions.end();
}
@@ -181,4 +181,4 @@ void GraphicsManager::setVideoMode()
}
}
}
-} \ No newline at end of file
+}