summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
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
+}