summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/postcommand.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-19 19:15:41 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-27 15:33:05 +0200
commit27ecc025acf7b01f51b2ecc32c28180dc49d793c (patch)
tree675924b55fa4f0d9b6a099d8e83ca8a9095371e1 /src/modules/m_spanningtree/postcommand.cpp
parent5384ddf545575bc27904b3534fb9d2340de7a1d7 (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 'src/modules/m_spanningtree/postcommand.cpp')
0 files changed, 0 insertions, 0 deletions