]> Git Repo - VerusCoin.git/blobdiff - src/rpcprotocol.h
make all catch() arguments const
[VerusCoin.git] / src / rpcprotocol.h
index f7cd50f9f606295cbee65c255bb5e507ab2a8c52..f4a4877d3884dfedd3bf3069b07705c04a7cc08c 100644 (file)
@@ -122,8 +122,7 @@ public:
             tcp::resolver::query query(server.c_str(), port.c_str());
             endpoint_iterator = resolver.resolve(query);
 #if BOOST_VERSION >= 104300
-        } catch(boost::system::system_error &e)
-        {
+        } catch (const boost::system::system_error&) {
             // If we at first don't succeed, try blanket lookup (IPv4+IPv6 independent of configured interfaces)
             tcp::resolver::query query(server.c_str(), port.c_str(), resolver_query_base::flags());
             endpoint_iterator = resolver.resolve(query);
This page took 0.022952 seconds and 4 git commands to generate.