diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-01-17 19:49:41 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-04-05 16:58:04 +0000 |
commit | 947da471f760bee2d2ba07f041f3b0048b5e7a2c (patch) | |
tree | bedfcb671d9a80adb5fa1077cb44fb254a321ae2 /src/corelib/tools/qline.cpp | |
parent | cc164f9ac73cd44a0ab082af78dccde8057154dc (diff) |
QChar: move definitions of inline methods into the class body
This hopefully prevents buggy compilers from choking on the definitions
outside the class as inconsistent, even though they are consistent.
Also helps developers, as the rather lengthy attribute lists for
C++11 functions does not need to be repeated.
This is in preparation of plastering the QChar API with Q_DECL_NOTHROW.
I had to keep operator== and operator< outside the class because
Clang on OS X 10 didn't find it when called with types implicitly
convertible to QChar.
Change-Id: I8bd634bc756d1bf5d208d7a2ce7e7ded73c4ce56
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qline.cpp')
0 files changed, 0 insertions, 0 deletions