From 312c0eec08cfff18956ff4e238f6b6982bb0e721 Mon Sep 17 00:00:00 2001 From: Maksym Mamontov Date: Mon, 11 May 2020 12:59:27 +0300 Subject: [PATCH 1/1] Remove useles cast. --- stargazer/plugins/configuration/rpcconfig/admins_methods.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stargazer/plugins/configuration/rpcconfig/admins_methods.cpp b/stargazer/plugins/configuration/rpcconfig/admins_methods.cpp index a6ed8f1a..670f6789 100644 --- a/stargazer/plugins/configuration/rpcconfig/admins_methods.cpp +++ b/stargazer/plugins/configuration/rpcconfig/admins_methods.cpp @@ -165,9 +165,7 @@ conf.priv = *admin->GetPriv(); conf.password = admin->GetPassword(); conf.login = login; -std::map structVal( - static_cast >(xmlrpc_c::value_struct(info)) - ); +std::map structVal = info; std::map::iterator it; -- 2.44.2