Do not put semicolons after the definition of an inline function.

Even though most compilers just ignore this, it's just wrong and if you
do get warnings about header files, they can become quite overwhelming.
Forward port of r70163.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2011-12-29 14:42:13 +00:00
parent d0a341b34a
commit 6dd0883d55
66 changed files with 112 additions and 107 deletions

View File

@@ -38,8 +38,8 @@ public:
unsigned char Green() const { return m_green; }
unsigned char Blue() const { return m_blue; }
WXPixel GetPixel() const { return m_pixel; };
void SetPixel(WXPixel pixel) { m_pixel = pixel; m_isInit = true; };
WXPixel GetPixel() const { return m_pixel; }
void SetPixel(WXPixel pixel) { m_pixel = pixel; m_isInit = true; }
inline bool operator == (const wxColour& colour) const { return (m_red == colour.m_red && m_green == colour.m_green && m_blue == colour.m_blue); }