summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-11-16 03:08:47 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-11-20 03:34:37 +0100
commit915be6606ead25f4fbbbcb2687b33cf22a955177 (patch)
treeef543afc8455ea457542288cb63c2f8601bc9469 /tests/auto
parent06f58a909bcdcd08d125f5decd1fba894c285765 (diff)
QChar: assert on illegal construction
If the input is out of range for the respective input type, then fire an assert. Remove a redudant bitwise-and. The constructors from char have been left alone: we are documenting that QChar(char) constructs from Latin1 (!), not ASCII/UTF-8, so all values are valid. Change-Id: I55e261015d5efa0699c78c25e454f09bb17a913f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions