aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/nocscript
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-10-31 14:30:52 -0700
committerMartin Braun <martin.braun@ettus.com>2016-11-08 08:02:22 -0800
commit99c2730bc9db270560671f2d7d173768465ed51f (patch)
treebc4df495734a075ebe2f7917cf67dec6fb7d8177 /host/lib/rfnoc/nocscript
parent218f4b0b63927110df9dbbaa8353c346eee2d98a (diff)
downloaduhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.gz
uhd-99c2730bc9db270560671f2d7d173768465ed51f.tar.bz2
uhd-99c2730bc9db270560671f2d7d173768465ed51f.zip
Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width types)
- Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
Diffstat (limited to 'host/lib/rfnoc/nocscript')
-rw-r--r--host/lib/rfnoc/nocscript/block_iface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/nocscript/block_iface.cpp b/host/lib/rfnoc/nocscript/block_iface.cpp
index 2034d3438..0d301e5bc 100644
--- a/host/lib/rfnoc/nocscript/block_iface.cpp
+++ b/host/lib/rfnoc/nocscript/block_iface.cpp
@@ -140,7 +140,7 @@ void block_iface::run_and_check(const std::string &code, const std::string &erro
expression_literal block_iface::_nocscript__sr_write(expression_container::expr_list_type args)
{
const std::string reg_name = args[0]->eval().get_string();
- const boost::uint32_t reg_val = boost::uint32_t(args[1]->eval().get_int());
+ const uint32_t reg_val = uint32_t(args[1]->eval().get_int());
bool result = true;
try {
UHD_NOCSCRIPT_LOG() << "[NocScript] Executing SR_WRITE() " << std::endl;