summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-01-27 12:42:14 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-01-31 23:38:51 +0100
commit2e70a4a4412f44934b3d2055c5b46c441dd0d132 (patch)
treeadf4e2aa9af2342c9d700bf6e046a3e29b3d39c0 /src/net/serverinfo.h
parent3b391ad0b59d0a8a7547134bc3ca744c2f38acee (diff)
downloadmana-2e70a4a4412f44934b3d2055c5b46c441dd0d132.tar.gz
mana-2e70a4a4412f44934b3d2055c5b46c441dd0d132.tar.bz2
mana-2e70a4a4412f44934b3d2055c5b46c441dd0d132.tar.xz
mana-2e70a4a4412f44934b3d2055c5b46c441dd0d132.zip
Fixed saving the selected server at server connection level.
I also change the serverInfo to use a deque to permit the use of the push_front function. Spotted and reviewed-by: Erik Schilling
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index d60c16e1..0748430f 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -25,7 +25,7 @@
#include "utils/stringutils.h"
#include <string>
-#include <vector>
+#include <deque>
class ServerInfo
{
@@ -111,6 +111,6 @@ public:
}
};
-typedef std::vector<ServerInfo> ServerInfos;
+typedef std::deque<ServerInfo> ServerInfos;
#endif // SERVERINFO_H