summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-08-09 18:19:30 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-08-31 20:37:14 +0200
commit52473c7bf188f2803a44f0214e416ceb7e20841f (patch)
treedbb1c669d209cdc285f589003f8b85339efe897f /cmake
parentc8612b156df4d77e9bfdc39750db415ba389ab56 (diff)
Use QByteArrayView::toInt() instead of duplicating its implementation
The code in qEnvironmentVariableIntValue() to parse the text as an int can now delegate it to QByteArrayView, so that keeping in sync with QByteArray::toInt(), as a comment requested, is now automatic. Change-Id: I09a6b7245ecd02f39a850a4ce187f86709282e8c Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions