diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-09 12:02:35 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-09 12:02:35 +0000 |
commit | 3936814ac6919c7c2dca75fac737a46c30510603 (patch) | |
tree | aad28ad1fad70d119e0a26553f7c796a8d9202b1 /include/command_parse.h | |
parent | 48d672de135a497e34b1530225fbb5a72452b841 (diff) |
Note to devs: We should be using std::string::clear() to empty a std::string, NOT somestr = "". somestr = "" involves a pointless memory allocation and
assignment then de-allocation, whereas clear() just sets the length to 0.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7262 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/command_parse.h')
0 files changed, 0 insertions, 0 deletions