diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2016-06-09 21:32:02 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2016-06-10 07:04:18 +0000 |
commit | 63ac6874eeea037b4b8b1a450a938999fb4f31b8 (patch) | |
tree | 955390edcbc1a4b67bcf0490de5cf7142c9fef58 /examples/serialport/master | |
parent | 1bd41bb092fb4c510c91515a4c2dedd7ffe61f94 (diff) | |
download | qtserialport-63ac6874eeea037b4b8b1a450a938999fb4f31b8.tar.gz |
Replace local 'static const' integers with 'enum'
Not sure whether this improves anything, but it can't make it
worse. Enumerators are always rvalues and never end up in the .rodata
part of binaries; static variables (const or not) are lvalues and
therefore can get their address taken.
Change-Id: I24155e5a3224fd6a33885a7ca3194ac53879d2c5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/serialport/master')
0 files changed, 0 insertions, 0 deletions