mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-13 12:46:18 +00:00
Use proper target namespace
This commit is contained in:
@@ -63,7 +63,7 @@ template <> struct target_type_id<core::Download*, core::Download*> { static con
|
|||||||
template <> inline bool
|
template <> inline bool
|
||||||
is_target_compatible<target_type>(const target_type& target) { return true; }
|
is_target_compatible<target_type>(const target_type& target) { return true; }
|
||||||
template <> inline bool
|
template <> inline bool
|
||||||
is_target_compatible<torrent::File*>(const target_type& target) { return (target.first == target_type_id<torrent::File*>::value || target.first == command_base::target_file_itr); }
|
is_target_compatible<torrent::File*>(const target_type& target) { return (target.first == command_base::target_file || target.first == command_base::target_file_itr); }
|
||||||
|
|
||||||
template <> inline target_type
|
template <> inline target_type
|
||||||
get_target_cast<target_type>(target_type target, int type) { return target; }
|
get_target_cast<target_type>(target_type target, int type) { return target; }
|
||||||
|
|||||||
Reference in New Issue
Block a user