diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-04-09 15:04:45 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-04-09 15:04:45 (GMT) |
commit | 603a532b5899d4bbb1ae375c26cfa5a95c95416d (patch) | |
tree | c5db9d87a9f7cfdc85a7c783527848b3742832c8 /Source/CursesDialog/cmCursesMainForm.cxx | |
parent | 953292921652377ae03bf7413ed115e03c7bd83b (diff) | |
download | CMake-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