aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/nirio
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-07-24 07:27:24 -0700
committerMartin Braun <martin.braun@ettus.com>2015-07-24 10:38:15 -0700
commit290b85a9610eb416d21775b222e70b8772497b08 (patch)
tree404d62963e6f4733d597be4a76b716c57f79bb4b /host/lib/transport/nirio
parent76e980b41d912dd9c9eefd8d6f10146569fa25c9 (diff)
downloaduhd-290b85a9610eb416d21775b222e70b8772497b08.tar.gz
uhd-290b85a9610eb416d21775b222e70b8772497b08.tar.bz2
uhd-290b85a9610eb416d21775b222e70b8772497b08.zip
Fixed minor warnings
Diffstat (limited to 'host/lib/transport/nirio')
-rw-r--r--host/lib/transport/nirio/rpc/rpc_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/nirio/rpc/rpc_client.cpp b/host/lib/transport/nirio/rpc/rpc_client.cpp
index 48f47cfae..bbaf9f235 100644
--- a/host/lib/transport/nirio/rpc/rpc_client.cpp
+++ b/host/lib/transport/nirio/rpc/rpc_client.cpp
@@ -52,7 +52,7 @@ rpc_client::rpc_client (
//- address_configured: Only return addresses if a non-loopback address is configured for the system.
//- numeric_host: No name resolution should be attempted for host
//- numeric_service: No name resolution should be attempted for service
- tcp::resolver::query::flags query_flags = tcp::resolver::query::passive;
+ tcp::resolver::query::flags query_flags(tcp::resolver::query::passive);
tcp::resolver::query query(tcp::v4(), server, port, query_flags);
tcp::resolver::iterator iterator = resolver.resolve(query);