diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-01-10 17:38:55 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-01-22 17:21:35 +0000 |
commit | 4faf011c3f5f4a739f4ddc54040b5319f7fe5d90 (patch) | |
tree | a391722fa37ea521930f0cceaa50d475fd166844 /src/plugins/bearer | |
parent | 730f0df17db53b249b8680a14c40d12107c8e24e (diff) |
Document that you shouldn't Q_ENUM() things outside the int range
The meta object system stores enums as signed int, probably for
performance reasons. This is good enough for about 99% of the use cases.
If you try to register larger types and then access them through the
metaobject system, you can get undefined behavior.
Task-number: QTBUG-71947
Change-Id: I16b395547c22fad10b476c2c2a0768538db0a20e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/bearer')
0 files changed, 0 insertions, 0 deletions