mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 05:02:31 +00:00
* Removed the Object ctor taking an Object::type_type.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1026 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-2
@@ -106,7 +106,7 @@ xmlrpc_to_object(xmlrpc_env* env, xmlrpc_value* value) {
|
||||
|
||||
case XMLRPC_TYPE_ARRAY:
|
||||
{
|
||||
torrent::Object result(torrent::Object::TYPE_LIST);
|
||||
torrent::Object result = torrent::Object::create_list();
|
||||
torrent::Object::list_type& listRef = result.as_list();
|
||||
|
||||
unsigned int last = xmlrpc_array_size(env, value);
|
||||
@@ -292,7 +292,7 @@ xmlrpc_to_object_target(xmlrpc_env* env, xmlrpc_value* value, int callType, void
|
||||
torrent::Object result;
|
||||
|
||||
if (current + 1 < last) {
|
||||
result = torrent::Object(torrent::Object::TYPE_LIST);
|
||||
result = torrent::Object::create_list();
|
||||
torrent::Object::list_type& listRef = result.as_list();
|
||||
|
||||
// Move this into a helper function?
|
||||
|
||||
Reference in New Issue
Block a user