aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/protocolinterface.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-08-19 19:15:41 +0200
committerGravatar attilamolnar2013-08-27 15:33:05 +0200
commit27ecc025acf7b01f51b2ecc32c28180dc49d793c (patch)
tree675924b55fa4f0d9b6a099d8e83ca8a9095371e1 /src/modules/m_spanningtree/protocolinterface.cpp
parentFix Windows build and a few more problems (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/protocolinterface.cpp')
0 files changed, 0 insertions, 0 deletions