diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-06-19 10:56:50 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2014-07-07 07:12:10 +0200 |
commit | 7e488626ab484ef8f62be6f80791a0b3adae80ab (patch) | |
tree | be99a82d7ed402825d38cca79dfb9b291e0e4a16 /src/platformheaders/doc/snippets | |
parent | 9f0e5d00ab51cc7c0dc87c8d72f48c4e6edaf120 (diff) |
Don't look up a QChar's digit value more than necessary
It isn't a particularly complex operation, but why waste CPU cycles?
This is the kind of function that should be declared pure/const.
Change-Id: I13f03ef0f87607f7649c66beeb37614a31ef2a10
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/platformheaders/doc/snippets')
0 files changed, 0 insertions, 0 deletions