diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-08-19 19:15:41 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-08-27 15:33:05 +0200 |
commit | 27ecc025acf7b01f51b2ecc32c28180dc49d793c (patch) | |
tree | 675924b55fa4f0d9b6a099d8e83ca8a9095371e1 /docs/conf/opers.conf.example | |
parent | 5384ddf545575bc27904b3534fb9d2340de7a1d7 (diff) |
m_spanningtree Changes to TreeSocket::WriteLine() to avoid string copies
- Change argument type to a reference to avoid copies of the string object
- If the std::string implementation is using copy-on-write then calling operator[] on a mutable string results in a copy; avoid this by calling .c_str() instead
Diffstat (limited to 'docs/conf/opers.conf.example')
0 files changed, 0 insertions, 0 deletions