aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-07-27 12:04:32 -0700
committerMartin Braun <martin.braun@ettus.com>2015-07-30 10:43:22 -0700
commitb6ad4c0531ef56f4e197cccd06f1d11fc89e4aab (patch)
tree1935a9e031ed657bd8ac7372b14f550932b21fe2 /host/lib/usrp/dboard
parentb6d594ebc7696635d9ed8787bf0a15e69ccdd4f9 (diff)
downloaduhd-b6ad4c0531ef56f4e197cccd06f1d11fc89e4aab.tar.gz
uhd-b6ad4c0531ef56f4e197cccd06f1d11fc89e4aab.tar.bz2
uhd-b6ad4c0531ef56f4e197cccd06f1d11fc89e4aab.zip
MSVC 2015 compatibility
Diffstat (limited to 'host/lib/usrp/dboard')
-rw-r--r--host/lib/usrp/dboard/db_cbx.cpp2
-rw-r--r--host/lib/usrp/dboard/db_sbx_common.hpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/dboard/db_cbx.cpp b/host/lib/usrp/dboard/db_cbx.cpp
index 8336117b8..daf9a8dfd 100644
--- a/host/lib/usrp/dboard/db_cbx.cpp
+++ b/host/lib/usrp/dboard/db_cbx.cpp
@@ -38,7 +38,7 @@ sbx_xcvr::cbx::~cbx(void){
/* NOP */
}
-void sbx_xcvr::cbx::write_lo_regs(dboard_iface::unit_t unit, std::vector<boost::uint32_t> &regs)
+void sbx_xcvr::cbx::write_lo_regs(dboard_iface::unit_t unit, const std::vector<boost::uint32_t> &regs)
{
BOOST_FOREACH(boost::uint32_t reg, regs)
{
diff --git a/host/lib/usrp/dboard/db_sbx_common.hpp b/host/lib/usrp/dboard/db_sbx_common.hpp
index a08d22537..4800bbd83 100644
--- a/host/lib/usrp/dboard/db_sbx_common.hpp
+++ b/host/lib/usrp/dboard/db_sbx_common.hpp
@@ -1,5 +1,5 @@
//
-// Copyright 2011-2014 Ettus Research LLC
+// Copyright 2011-2015 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -225,7 +225,7 @@ protected:
/*! This is the registered instance of the wrapper class, sbx_base. */
sbx_xcvr *self_base;
private:
- void write_lo_regs(dboard_iface::unit_t unit, std::vector<boost::uint32_t> &regs);
+ void write_lo_regs(dboard_iface::unit_t unit, const std::vector<boost::uint32_t> &regs);
max287x_iface::sptr _txlo;
max287x_iface::sptr _rxlo;
};