* 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:
rakshasa
2006-02-05 01:43:38 +00:00
parent 8b934623d4
commit 126bb511b8
10 changed files with 145 additions and 18 deletions
+3 -3
View File
@@ -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>();
}