diff --git a/include/libtorrent/create_torrent.hpp b/include/libtorrent/create_torrent.hpp index 573b550a4..e631a145a 100644 --- a/include/libtorrent/create_torrent.hpp +++ b/include/libtorrent/create_torrent.hpp @@ -78,7 +78,7 @@ namespace libtorrent void add_url_seed(std::string const& url); void add_node(std::pair const& node); void add_tracker(std::string const& url, int tier = 0); - void set_priv(bool p) const { return m_private = p; } + void set_priv(bool p) { m_private = p; } int num_pieces() const { return m_files.num_pieces(); } int piece_length() const { return m_files.piece_length(); }