summaryrefslogtreecommitdiff
path: root/src/account-server/accounthandler.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-15 22:02:44 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-16 18:54:40 +0100
commit9c23fb8aca08b49aae6fc3a3ec710bf2686019ef (patch)
treeca3e64a1db1a2fca18fb6727f242e01718669b52 /src/account-server/accounthandler.cpp
parent6ba4653e1c0e7ee2315f57d0bb1363ab03db4496 (diff)
downloadmanaserv-9c23fb8aca08b49aae6fc3a3ec710bf2686019ef.tar.gz
manaserv-9c23fb8aca08b49aae6fc3a3ec710bf2686019ef.tar.bz2
manaserv-9c23fb8aca08b49aae6fc3a3ec710bf2686019ef.tar.xz
manaserv-9c23fb8aca08b49aae6fc3a3ec710bf2686019ef.zip
Fixed fastRemoveOne when the element isn't found
For a non-empty vectors that did not contain the element to remove, the loop would go on forever because a size_t can't become smaller than 0. Fixed by simply iterating forwards.
Diffstat (limited to 'src/account-server/accounthandler.cpp')
0 files changed, 0 insertions, 0 deletions