fix override function signature on alerts
This commit is contained in:
parent
0de44067aa
commit
1b93f1e4b8
|
@ -146,7 +146,7 @@ namespace libtorrent
|
|||
virtual std::auto_ptr<alert> clone_impl() const TORRENT_OVERRIDE \
|
||||
{ return std::auto_ptr<alert>(new name(*this)); }
|
||||
#define TORRENT_NOT_DISCARDABLE \
|
||||
virtual bool discardable_impl() TORRENT_OVERRIDE { return false; }
|
||||
virtual bool discardable_impl() const TORRENT_OVERRIDE { return false; }
|
||||
#else
|
||||
#define TORRENT_CLONE(name)
|
||||
#define TORRENT_NOT_DISCARDABLE
|
||||
|
|
Loading…
Reference in New Issue