summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/addline.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin+git@viroteck.net>2012-07-01 21:34:18 +0200
committerRobin Burchell <robin+git@viroteck.net>2012-07-01 21:35:32 +0200
commit972af12415addb1b5d72708af5d98bd4bd1bd47a (patch)
treeba14b1e483b8f996edd4765794a38517ee108afc /src/modules/m_spanningtree/addline.cpp
parent9475a10a86c6c2e8575366f6e0c9b28b66a97698 (diff)
Don't throw an exception if passed bad parameters to stringjoiner.
It's far too common to "misuse" this API by accidentally trying to use stringjoiner with an empty container, and fixing that is more or less adding boilerplate in every place we fix it. Instead, let's just return and not touch the string, and not throw. Done-with: Attila Molnar <attilamolnar@hush.com>
Diffstat (limited to 'src/modules/m_spanningtree/addline.cpp')
0 files changed, 0 insertions, 0 deletions