mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 15:19:20 +00:00
* Added missing <sys/types.h> includes. Patch by Artifex Maximus.
* Changed torrent::Object to use placement new instead of a pointer to std::string/list/map. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1128 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -175,7 +175,7 @@ download_factory_add_stream(torrent::Object* root, const char* key, const char*
|
||||
if (!stream.good())
|
||||
return false;
|
||||
|
||||
root->insert_key_swap(key, obj);
|
||||
root->insert_key_move(key, obj);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user