summaryrefslogtreecommitdiff
path: root/src/clientiface.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-03-04 16:30:24 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-03-04 16:30:24 +0100
commit2066655aae2022384fc12a10c04dccfd2996f0ac (patch)
treec4ef388c3f97a6e11ede458d89e55cfbcd0310e8 /src/clientiface.h
parent7e088fdfe3c77083606bce955624aef1da59bb32 (diff)
downloadminetest-2066655aae2022384fc12a10c04dccfd2996f0ac.tar.gz
minetest-2066655aae2022384fc12a10c04dccfd2996f0ac.tar.bz2
minetest-2066655aae2022384fc12a10c04dccfd2996f0ac.zip
ClientInterface::getClientIDs doesn't need a std::list. Use a std::vector for better perfs
Diffstat (limited to 'src/clientiface.h')
-rw-r--r--src/clientiface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientiface.h b/src/clientiface.h
index 129d3f861..2f265b128 100644
--- a/src/clientiface.h
+++ b/src/clientiface.h
@@ -388,7 +388,7 @@ public:
void step(float dtime);
/* get list of active client id's */
- std::list<u16> getClientIDs(ClientState min_state=CS_Active);
+ std::vector<u16> getClientIDs(ClientState min_state=CS_Active);
/* get list of client player names */
std::vector<std::string> getPlayerNames();