summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesMainForm.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-04-09 15:04:45 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-04-09 15:04:45 (GMT)
commit603a532b5899d4bbb1ae375c26cfa5a95c95416d (patch)
treec5db9d87a9f7cfdc85a7c783527848b3742832c8 /Source/CursesDialog/cmCursesMainForm.cxx
parent953292921652377ae03bf7413ed115e03c7bd83b (diff)
downloadCMake-603a532b5899d4bbb1ae375c26cfa5a95c95416d.zip
CMake-603a532b5899d4bbb1ae375c26cfa5a95c95416d.tar.gz
CMake-603a532b5899d4bbb1ae375c26cfa5a95c95416d.tar.bz2
cmCursesLongMessageForm: avoid unnecessary string allocation
The addition makes a temporary string and then drops it after adding it to `this->Messages`. Instead, just incrementally append.
Diffstat (limited to 'Source/CursesDialog/cmCursesMainForm.cxx')
0 files changed, 0 insertions, 0 deletions