From b407469bb4b36b8551261ee1249063ef3d5a9029 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 17 Apr 2018 16:50:51 -0700 Subject: niusrprio: Move a const from header to impl This avoids having to redeclare the static const to avoid linker errors. --- host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib/transport') diff --git a/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp b/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp index f8a733a2b..7582b4734 100644 --- a/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp +++ b/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp @@ -8,6 +8,11 @@ #include #include +namespace { + constexpr int64_t DEFAULT_TIMEOUT_IN_MS = 5000; +} + + namespace uhd { namespace usrprio_rpc { usrprio_rpc_client::usrprio_rpc_client( -- cgit v1.2.3