diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-04-17 16:50:51 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-04-18 10:11:06 -0700 |
commit | b407469bb4b36b8551261ee1249063ef3d5a9029 (patch) | |
tree | e472ada0c593f38971aaa63976c0f13662e49267 /host/lib | |
parent | 2f6253667eec6be60e27d43ced7a72e689838e94 (diff) | |
download | uhd-b407469bb4b36b8551261ee1249063ef3d5a9029.tar.gz uhd-b407469bb4b36b8551261ee1249063ef3d5a9029.tar.bz2 uhd-b407469bb4b36b8551261ee1249063ef3d5a9029.zip |
niusrprio: Move a const from header to impl
This avoids having to redeclare the static const to avoid linker errors.
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 <uhd/transport/nirio/rpc/usrprio_rpc_client.hpp> #include <uhd/utils/platform.hpp> +namespace { + constexpr int64_t DEFAULT_TIMEOUT_IN_MS = 5000; +} + + namespace uhd { namespace usrprio_rpc { usrprio_rpc_client::usrprio_rpc_client( |