fix more warnings
This commit is contained in:
parent
a845afe6d9
commit
8506f93507
|
@ -101,6 +101,8 @@ public:
|
||||||
|
|
||||||
node(node const&) = delete;
|
node(node const&) = delete;
|
||||||
node& operator=(node const&) = delete;
|
node& operator=(node const&) = delete;
|
||||||
|
node(node&&) = default;
|
||||||
|
node& operator=(node&&) = default;
|
||||||
|
|
||||||
void update_node_id();
|
void update_node_id();
|
||||||
|
|
||||||
|
|
|
@ -7129,7 +7129,7 @@ bool is_downloading_state(int const st)
|
||||||
#ifndef TORRENT_DISABLE_LOGGING
|
#ifndef TORRENT_DISABLE_LOGGING
|
||||||
char const* list_name(torrent_list_index_t const idx)
|
char const* list_name(torrent_list_index_t const idx)
|
||||||
{
|
{
|
||||||
#define TORRENT_LIST_NAME(n) case static_cast<int>(aux::session_interface:: n): return #n;
|
#define TORRENT_LIST_NAME(n) case static_cast<int>(aux::session_interface:: n): return #n
|
||||||
switch (static_cast<int>(idx))
|
switch (static_cast<int>(idx))
|
||||||
{
|
{
|
||||||
TORRENT_LIST_NAME(torrent_state_updates);
|
TORRENT_LIST_NAME(torrent_state_updates);
|
||||||
|
|
Loading…
Reference in New Issue