aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorAndrew Lynch <andrew.lynch@ni.com>2018-10-03 16:48:03 -0500
committerMartin Braun <martin.braun@ettus.com>2018-10-04 06:15:04 +0200
commit72a21ba84cffc04e3af178c4e9c7cb59f49b6520 (patch)
tree44ae0dcdc98e26c9ed9d779669cf28f52966736c /host/include
parent35de0467ca9ff44d24f3387df065313c6efc7545 (diff)
downloaduhd-72a21ba84cffc04e3af178c4e9c7cb59f49b6520.tar.gz
uhd-72a21ba84cffc04e3af178c4e9c7cb59f49b6520.tar.bz2
uhd-72a21ba84cffc04e3af178c4e9c7cb59f49b6520.zip
multi_usrp: move definition of constants
ALL_MBOARDS and ALL_CHANS will be exported on GCC and MSVC
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/multi_usrp.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/usrp/multi_usrp.hpp b/host/include/uhd/usrp/multi_usrp.hpp
index 9e098d3e1..efb4b5eed 100644
--- a/host/include/uhd/usrp/multi_usrp.hpp
+++ b/host/include/uhd/usrp/multi_usrp.hpp
@@ -100,10 +100,10 @@ public:
virtual ~multi_usrp(void) = 0;
//! A wildcard motherboard index
- static const size_t ALL_MBOARDS = size_t(~0);
+ static const size_t ALL_MBOARDS;
//! A wildcard channel index
- static const size_t ALL_CHANS = size_t(~0);
+ static const size_t ALL_CHANS;
//! A wildcard gain element name
static const std::string ALL_GAINS;