From 589aee0cee8fd72ff07fd2dc6043443e07097212 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 3 Feb 2010 17:12:19 +0000 Subject: (svn r18991) -Codechange: simplify memory management of DownloadSelectedContent --- src/network/network_content.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/network/network_content.h') diff --git a/src/network/network_content.h b/src/network/network_content.h index ad9ab3783..ea2df4e39 100644 --- a/src/network/network_content.h +++ b/src/network/network_content.h @@ -65,8 +65,9 @@ struct ContentCallback { */ class ClientNetworkContentSocketHandler : public NetworkContentSocketHandler, ContentCallback { protected: + typedef SmallVector ContentIDList; SmallVector callbacks; ///< Callbacks to notify "the world" - SmallVector requested; ///< ContentIDs we already requested (so we don't do it again) + ContentIDList requested; ///< ContentIDs we already requested (so we don't do it again) ContentVector infos; ///< All content info we received FILE *curFile; ///< Currently downloaded file -- cgit v1.2.3-54-g00ecf