summaryrefslogtreecommitdiff
path: root/src/driver.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-05-24 20:29:04 +0000
committerrubidium <rubidium@openttd.org>2009-05-24 20:29:04 +0000
commit0d99b6c71cd096599b4805d230483f3e4e958af1 (patch)
tree463b69c3b2ea6f697506be055622229767dfebc4 /src/driver.cpp
parent36e71c8df6fe1f4c303d98b609bb9cdd0c4b7e75 (diff)
downloadopenttd-0d99b6c71cd096599b4805d230483f3e4e958af1.tar.xz
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
Diffstat (limited to 'src/driver.cpp')
-rw-r--r--src/driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.cpp b/src/driver.cpp
index 5d5a86cd9..1feffcc54 100644
--- a/src/driver.cpp
+++ b/src/driver.cpp
@@ -56,7 +56,7 @@ int GetDriverParamInt(const char * const *parm, const char *name, int def)
* @param name the driver to select.
* @post Sets the driver so GetCurrentDriver() returns it too.
*/
-const Driver *DriverFactoryBase::SelectDriver(const char *name, Driver::Type type)
+Driver *DriverFactoryBase::SelectDriver(const char *name, Driver::Type type)
{
if (GetDrivers().size() == 0) return NULL;