Changeset - r13025:49d301c3f444
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-09-13 23:30:29
smatz@openttd.org
(svn r17533) -Fix: missing 'const'
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/driver.h
Show inline comments
 
@@ -62,13 +62,13 @@ private:
 
		static Driver *s_driver[3] = { NULL, NULL, NULL };
 
		return &s_driver[type];
 
	}
 

	
 
	static const char *GetDriverTypeName(Driver::Type type)
 
	{
 
		static const char *driver_type_name[] = { "sound", "music", "video" };
 
		static const char * const driver_type_name[] = { "sound", "music", "video" };
 
		return driver_type_name[type];
 
	}
 

	
 
protected:
 
	void RegisterDriver(const char *name, Driver::Type type, int priority);
 

	
0 comments (0 inline, 0 general)