summaryrefslogtreecommitdiff
path: root/examples/serialport/master
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2016-06-09 21:32:02 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2016-06-10 07:04:18 +0000
commit63ac6874eeea037b4b8b1a450a938999fb4f31b8 (patch)
tree955390edcbc1a4b67bcf0490de5cf7142c9fef58 /examples/serialport/master
parent1bd41bb092fb4c510c91515a4c2dedd7ffe61f94 (diff)
downloadqtserialport-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