mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 07:02:30 +00:00
* Applied patch from Diego 'Flameeyes' Petteno <flameeyes@gentoo.org>
that adds the "unused" attribute to some function parameters and minor cleanups of configure.ac. * Added inttypes.h to command_scheduler.h. * Bumped to version 0.8.5/0.4.5. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@634 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+3
-3
@@ -108,8 +108,8 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator == (const split_iterator_t& itr) const { return m_pos == m_seq->end(); }
|
||||
bool operator != (const split_iterator_t& itr) const { return m_pos != m_seq->end(); }
|
||||
bool operator == (__UNUSED const split_iterator_t& itr) const { return m_pos == m_seq->end(); }
|
||||
bool operator != (__UNUSED const split_iterator_t& itr) const { return m_pos != m_seq->end(); }
|
||||
|
||||
private:
|
||||
const Sequence* m_seq;
|
||||
@@ -126,7 +126,7 @@ split_iterator(const Sequence& seq, typename Sequence::value_type delim) {
|
||||
|
||||
template <typename Sequence>
|
||||
inline split_iterator_t<Sequence>
|
||||
split_iterator(const Sequence& seq) {
|
||||
split_iterator(__UNUSED const Sequence& seq) {
|
||||
return split_iterator_t<Sequence>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user