Remove unnecessary explicit 'inline'

Originally committed to SVN as r5880.
This commit is contained in:
Thomas Goyne 2011-11-18 22:57:07 +00:00
parent af9be4afa6
commit f4a975d64c
1 changed files with 1 additions and 2 deletions

View File

@ -87,7 +87,7 @@ public:
/// ///
/// Writes into the XRGB pixel (assumed 32 bit without alpha) passed. /// Writes into the XRGB pixel (assumed 32 bit without alpha) passed.
/// The pixel format is assumed to be the same as that in the palette. /// The pixel format is assumed to be the same as that in the palette.
inline void map(float val, unsigned char *pixel) void map(float val, unsigned char *pixel)
{ {
if (val < 0.0) val = 0.0; if (val < 0.0) val = 0.0;
if (val > 1.0) val = 1.0; if (val > 1.0) val = 1.0;
@ -115,4 +115,3 @@ public:
return wxColour(color[0], color[1], color[2]); return wxColour(color[0], color[1], color[2]);
} }
}; };