diff options
author | Frank Winklmeier <frank.winklmeier@cern.ch> | 2018-02-22 15:05:40 (GMT) |
---|---|---|
committer | Frank Winklmeier <frank.winklmeier@cern.ch> | 2018-02-23 16:23:10 (GMT) |
commit | 8ab3660a1ed0bf213d297e4dc8a7c3548cb14555 (patch) | |
tree | bc363f5018267da5d16cebcb56895c42f78f96a6 /Source/cmOptionCommand.h | |
parent | ebf0a0827992be5cc03e530f9dc06bd1d05c1aa6 (diff) | |
download | CMake-8ab3660a1ed0bf213d297e4dc8a7c3548cb14555.zip CMake-8ab3660a1ed0bf213d297e4dc8a7c3548cb14555.tar.gz CMake-8ab3660a1ed0bf213d297e4dc8a7c3548cb14555.tar.bz2 |
cmOutputConverter: Inline some functions and avoid string re-allocations
Use std::string (with correct initial size) in cmOutputConverter::Shell__GetArgument
instead of ostringstream. This avoids several re-allocations of the
string buffer. In addition, convert some of the private static members into
inline free functions to avoid function calls.
Diffstat (limited to 'Source/cmOptionCommand.h')
0 files changed, 0 insertions, 0 deletions