From: Maksym Mamontov Date: Mon, 11 May 2020 09:59:27 +0000 (+0300) Subject: Remove useles cast. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/312c0eec08cfff18956ff4e238f6b6982bb0e721?hp=79591a71ebe9762f763da5cb59497e894f5ce72e Remove useles cast. --- 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;