Fixed PVS warning

This commit is contained in:
Vasily Nemkov 2021-10-20 12:45:32 +03:00
parent e72ec27d5b
commit 0ad7f9bba2
2 changed files with 2 additions and 3 deletions

View File

@ -252,8 +252,6 @@ Session::Session(const ContextPtr & global_context_, ClientInfo::Interface inter
prepared_client_info->interface = interface_;
}
Session::Session(Session &&) = default;
Session::~Session()
{
LOG_DEBUG(log, "{} Destroying {} of user {}",

View File

@ -33,9 +33,10 @@ public:
static void shutdownNamedSessions();
Session(const ContextPtr & global_context_, ClientInfo::Interface interface_);
Session(Session &&);
~Session();
Session(const Session &&) = delete;
Session& operator=(const Session &&) = delete;
Session(const Session &) = delete;
Session& operator=(const Session &) = delete;