aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/nocscript/expression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/rfnoc/nocscript/expression.cpp')
-rw-r--r--host/lib/rfnoc/nocscript/expression.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/host/lib/rfnoc/nocscript/expression.cpp b/host/lib/rfnoc/nocscript/expression.cpp
index 41b9c5403..1a7f3ee94 100644
--- a/host/lib/rfnoc/nocscript/expression.cpp
+++ b/host/lib/rfnoc/nocscript/expression.cpp
@@ -9,18 +9,17 @@
#include "function_table.hpp"
#include <uhd/utils/cast.hpp>
#include <boost/format.hpp>
-#include <boost/assign.hpp>
#include <boost/algorithm/string.hpp>
using namespace uhd::rfnoc::nocscript;
-std::map<expression::type_t, std::string> expression::type_repr = boost::assign::map_list_of
- (TYPE_INT, "INT")
- (TYPE_DOUBLE, "DOUBLE")
- (TYPE_STRING, "STRING")
- (TYPE_BOOL, "BOOL")
- (TYPE_INT_VECTOR, "INT_VECTOR")
-;
+std::map<expression::type_t, std::string> expression::type_repr{
+ {TYPE_INT, "INT"},
+ {TYPE_DOUBLE, "DOUBLE"},
+ {TYPE_STRING, "STRING"},
+ {TYPE_BOOL, "BOOL"},
+ {TYPE_INT_VECTOR, "INT_VECTOR"}
+};
/********************************************************************
* Literal expressions (constants)